equal
deleted
inserted
replaced
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 |