/She cooked John's goose by reporting what she knew to the police./
/The dishonest official knew his goose was cooked when the newspapers printed the story about him./