mmserv/tms/tmsimpl/src/tmscscallbodyimpl.cpp
branchRCL_3
changeset 7 3d8c721bf319
parent 0 71ca22bcf22a
child 12 2eb3b066cc7d
--- a/mmserv/tms/tmsimpl/src/tmscscallbodyimpl.cpp	Mon Mar 15 12:42:35 2010 +0200
+++ b/mmserv/tms/tmsimpl/src/tmscscallbodyimpl.cpp	Wed Mar 31 22:29:45 2010 +0300
@@ -197,9 +197,7 @@
         // will point to the next item (if available); so, do NOT attempt
         // deleting itStrm here! (Will result in KERN-EXEC)
         iStreamsVector.erase(itStrm); // Remove from array
-        delete strm; // Free memory
-        strm = NULL;
-        ret = TMS_RESULT_SUCCESS;
+        ret = TMSStreamImpl::Delete(strm);
         }
     TRACE_PRN_FN_EXT;
     return ret;