Here's the grown-up move: dispose of it properly. For small amounts –- say, less than a gallon –- most municipalities have household hazardous waste (HHW) collections where you can drop off old fuel ...
Other ways to dispose of old pumpkins and jack-o’-lanterns include composting them at home, giving them to farm animals ...