I have been using this idiom as a synonym for "passing gas" ever since I heard it in the cult comedy classic, Kung Pow: Enter the Fist.
Here's the usage: Kung Pow: Killed the Dog
I happened to say it recently with someone who had no idea what I meant.
I couldn't find a reference on its origin so I'd love it if someone can provide some background.