imagehandlingutilities/thumbnailmanager/thumbagdaemon/src/thumbagdaemon.cpp
branchRCL_3
changeset 58 9e8b0cc88842
parent 41 9d4d3445ce6e
--- a/imagehandlingutilities/thumbnailmanager/thumbagdaemon/src/thumbagdaemon.cpp	Wed Sep 15 12:32:44 2010 +0300
+++ b/imagehandlingutilities/thumbnailmanager/thumbagdaemon/src/thumbagdaemon.cpp	Wed Oct 13 14:53:56 2010 +0300
@@ -194,10 +194,7 @@
     iAudioObserver = NULL;
     
     delete iMDSShutdownObserver;
-    iMDSShutdownObserver = NULL;
-    
     delete iShutdownObserver;
-    iShutdownObserver = NULL;
     
     if(iReconnect)
         {
@@ -270,7 +267,6 @@
        
         // comes here if server gets shut down
         delete server;
-        server = NULL;
         
         CleanupStack::PopAndDestroy( scheduler );
         }
@@ -542,8 +538,6 @@
     TInt ret = rep->Get( KEnableDaemon, val );
     
     delete rep;
-    rep = NULL;
-    
     TN_DEBUG3( "CThumbAGDaemon::DaemonEnabledL() - val == %d, ret == %d", val, ret );
     return val;
     }
@@ -585,7 +579,6 @@
         {
         TRAP( result, CThumbAGDaemon::ThreadFunctionL());
         delete cleanup;
-        cleanup = NULL;
         }
     
     if ( result != KErrNone )