M.H.
I'm thinking it is prickly heat or a form of heat rash from sweating or having her pants rub on her legs.
My son gets them some times on his stomach and they go away within a day or two.
If she isn't bothered by them and they go away fairly quickly -- I wouldn't worry.
M.