This is no longer needed because we now abort immediately once heap corruption is detected. (cherry-picked from a9da0bb2)