During the battle, Crabbe, under the influence of a dark spell, accidentally unleashes a powerful, uncontrollable fire spell that consumes him. This happens while he and Goyle are trying to protect the Room of Requirement, where Harry, Ron, and Hermione are hiding.
Molly Weasley doesn't kill Crabbe, and in fact, she is initially horrified when the fire explodes and claims his life.