Exit on bad free

Apparently we have to do this...