phoneclientserver/phoneserver/src/standard/cphsrvsession.cpp
changeset 53 25b8d29b7c59
parent 33 8d5d7fcf9b59
--- a/phoneclientserver/phoneserver/src/standard/cphsrvsession.cpp	Mon Oct 04 15:57:13 2010 +0300
+++ b/phoneclientserver/phoneserver/src/standard/cphsrvsession.cpp	Fri Oct 15 13:21:28 2010 +0300
@@ -138,10 +138,8 @@
 
             // Add to container (takes ownership)
             iContainer->AddL( subSession );
-            if (function != EPhoneServerImageHandlerSubSessionOpen )
-                {
-                CleanupStack::Pop( subSession );    
-                }
+            CleanupStack::Pop( subSession );    
+            
             // Get a handle for the object
             const TInt handle = iObjectIx->AddL( subSession );