--- a/iadstoprestart/src/iadstop.cpp Thu Jul 15 19:07:24 2010 +0300 +++ b/iadstoprestart/src/iadstop.cpp Thu Aug 19 10:20:41 2010 +0300 @@ -158,6 +158,7 @@ TRAP(err, MainL()); delete cleanup; + cleanup = NULL; __UHEAP_MARKEND; return err; }