Wiktionary
pull someone's bacon out of the fire
alt. (context idiomatic English) To rescue someone, especially at the last moment. vb. (context idiomatic English) To rescue someone, especially at the last moment.