mmserv/tms/tmsimpl/src/tmscscallbodyimpl.cpp
branchRCL_3
changeset 7 3d8c721bf319
parent 0 71ca22bcf22a
child 12 2eb3b066cc7d
equal deleted inserted replaced
6:e35735ece90c 7:3d8c721bf319
   195         {
   195         {
   196         // Remove stream object from the vector. After removing, the iterator
   196         // Remove stream object from the vector. After removing, the iterator
   197         // will point to the next item (if available); so, do NOT attempt
   197         // will point to the next item (if available); so, do NOT attempt
   198         // deleting itStrm here! (Will result in KERN-EXEC)
   198         // deleting itStrm here! (Will result in KERN-EXEC)
   199         iStreamsVector.erase(itStrm); // Remove from array
   199         iStreamsVector.erase(itStrm); // Remove from array
   200         delete strm; // Free memory
   200         ret = TMSStreamImpl::Delete(strm);
   201         strm = NULL;
       
   202         ret = TMS_RESULT_SUCCESS;
       
   203         }
   201         }
   204     TRACE_PRN_FN_EXT;
   202     TRACE_PRN_FN_EXT;
   205     return ret;
   203     return ret;
   206     }
   204     }
   207 
   205