--- a/iadstoprestart/src/iadstop.cpp Wed Jul 14 07:57:22 2010 +0300 +++ b/iadstoprestart/src/iadstop.cpp Fri Jul 23 10:03:59 2010 +0300 @@ -158,6 +158,7 @@ TRAP(err, MainL()); delete cleanup; + cleanup = NULL; __UHEAP_MARKEND; return err; }