remotestoragefw/mountmanager/src/rsfwmountutils.cpp
branchRCL_3
changeset 12 fe0554130c0f
parent 0 3ad9d5175a89
--- a/remotestoragefw/mountmanager/src/rsfwmountutils.cpp	Wed Mar 31 23:00:11 2010 +0300
+++ b/remotestoragefw/mountmanager/src/rsfwmountutils.cpp	Wed Apr 14 16:50:39 2010 +0300
@@ -268,6 +268,7 @@
         // if fetching the list of implemenations fail,'
         // (for example a temporary out of memory situation)
         // just accept the string
+		implinfo.ResetAndDestroy();
         return ETrue;
         }
      
@@ -279,12 +280,14 @@
     _LIT8(KDelimiter, "://");
     if (aDriveAddress.Length() < protocol.Length()+3) 
         {
+		implinfo.ResetAndDestroy();
         return EFalse;
         }
     
     TPtrC8 test = aDriveAddress.Mid(protocol.Length(), 3);
     if (!(test.Compare(KDelimiter) == 0)) 
         {
+		implinfo.ResetAndDestroy();
         return EFalse;    
         }