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