Reset everything when memory alloc fails