"Most likely not in danger" is your assessment in the cold light of day. It was not her assessment apparently. Unless the dog was trained to attack that part of the equation is moot. The sex offender could have easily, in her mind and in fact, have been a serious threat to life and limb. Turning one's back on him is not something I would recommend either. She did not open fire, she did warn him off, and in this state at least, what she did would not be considered brandishing in that he was in the act of committing a crime against her and her child. Good for her.
"A Liberal is someone who doesn't care what you do, as long as it's mandatory". - Charles Krauthammer