Safety check. This is closer to how allegro frees bitmaps.