Attempt to catch improper deallocation.