Flare guns or flare pistols were signal weapons that when fired released a burning substance into the air. They were primarily used to signal for help. Barbara Wright shot and killed Sandy when she mistakenly thought he was going to attack Vicki. (TV: "Desperate Measures" [+]Part of The Rescue, David Whitaker, Doctor Who season 2 (BBC1, 1965).)
The Fourth Doctor kept a flare pistol in the TARDIS "in case [he] should get into trouble in [his] dinghy", which he kept in case he should get into trouble with the TARDIS. (AUDIO: The Planet of Witches)