upnpsharing/upnpdlnaprofiler/src/upnpaudiosolverbase.cpp
changeset 34 eab116a48b80
parent 0 7f85d04be362
--- a/upnpsharing/upnpdlnaprofiler/src/upnpaudiosolverbase.cpp	Tue Sep 21 11:21:11 2010 +0300
+++ b/upnpsharing/upnpdlnaprofiler/src/upnpaudiosolverbase.cpp	Mon Oct 04 13:32:20 2010 +0300
@@ -323,8 +323,9 @@
     // delete temporary file
     RFs fs;
     User::LeaveIfError( fs.Connect() );
+    CleanupClosePushL( fs );
     User::LeaveIfError( fs.Delete( KTargetAudioFile() ) );
-    fs.Close();
+    CleanupStack::PopAndDestroy( &fs );
     
     return retval;
     }