Todd Canady just wanted to buy some milk Monday evening and was simply fumbling for his wallet at the Walmart checkout lane when he heard a loud, eardrum-rattling noise, followed by a sharp pain in the leg.
At that point, the 23-year-old Dallas resident realized what happened: He forgot to put the safety on the Springfield .40-caliber semi-automatic pistol he had holstered inside his pants.
The bullet grazed Canady's leg before it struck the concrete floor, causing shards of cement to fly into the air and hit one woman and her kindergarten-age daughter, according to WFAA.com.
Four people, including Canady, were injured, according to the Associated Press.
Authorities say an off-duty officer confronted Canady, who, bad leg and all, allegedly ran from the store. He was taken into custody after a brief foot chase, KDAF-TV reported.
Although Canady did have a permit to carry a concealed weapon, he was formally charged with evading arrest, and could also be charged with injury to a child, KDFW-TV reported.
GALLERY: DUMB CRIME MUG SHOTS