Hi Amena,
I think that's close enough!
A Victorian version of the Georgian vinaigrette perhaps. Perry & Co.'s Pocket Disinfector with Klein's Patent.

Perry & Co. - London - 1878
I suspect if you lit a cigar with this device it would taste pretty foul!
Hi Qrt.S,
Yes, I think it would also be OK for dynamite fuses! :)) But an air freshener/fumigator was what it was sold for.
Trev.