How do I know if my cooking spray is bad or rancid? The best way is to smell the cooking spray. If the cooking spray develops an unusual odor, flavor, or appearance, it should be discarded. Discard any cooking spray from a leaking, rusty, bulging, or badly dented can.