Martha Coston, who developed and patented a safety flare for ships in her husband’s name after his death, also invented the precursor to the flare gun. She patented this design in her own name in 1871.
Source cited: http://www.uah.edu/colleges/liberal/womensstudies/inventor.html