--- a/iadstoprestart/src/iadrestart.cpp Tue Jul 06 14:44:37 2010 +0300 +++ b/iadstoprestart/src/iadrestart.cpp Fri Sep 17 16:54:49 2010 +0300 @@ -55,6 +55,7 @@ TRAP(err, MainL()); delete cleanup; + cleanup = NULL; __UHEAP_MARKEND; return err; }