<DIV>m_pUsageEnvironment = BasicUsageEnvironment::createNew(*m_pTaskScheduler);</DIV>
<DIV>if(m_pUsageEnvironment == NULL)</DIV>
<DIV>{</DIV>
<DIV>service_error.init(service_error_type_failed,"BasicUsageEnvironment::createNew failed");</DIV>
<DIV>return service_error;</DIV>
<DIV>}</DIV>
<DIV> </DIV>
<DIV>and . how to delete this m_pUsageEnvironment;</DIV>
<DIV> </DIV>
<DIV><includetail>
<DIV> </DIV>
<DIV> </DIV>
<DIV style="COLOR: #000">
<DIV style="PADDING-RIGHT: 0px; PADDING-LEFT: 0px; FONT-SIZE: 12px; PADDING-BOTTOM: 2px; PADDING-TOP: 2px; FONT-FAMILY: Arial Narrow">------------------ Original ------------------</DIV>
<DIV style="PADDING-RIGHT: 8px; PADDING-LEFT: 8px; FONT-SIZE: 12px; BACKGROUND: #efefef; PADDING-BOTTOM: 8px; PADDING-TOP: 8px">
<DIV id=menu_sender><B>From: </B> "Ross Finlayson"<finlayson@live555.com>;</DIV>
<DIV><B>Date: </B> Tue, Nov 2, 2010 05:10 PM</DIV>
<DIV><B>To: </B> "LIVE555 Streaming Media - development & use"<live-devel@ns.live555.com>; <WBR></DIV>
<DIV></DIV>
<DIV><B>Subject: </B> Re: [Live-devel] memory leak</DIV></DIV>
<DIV> </DIV>>i don't know how to delete your variant.<BR>>and i saw many strDup string.wouldn't delete at all.<BR>>why are you doing this.<BR>>or am i wrong usage?<BR><BR>I'm sorry, but I don't really understand your question.<BR><BR>Can you give a specific example of something that you think is a memory leak?<BR>-- <BR><BR>Ross Finlayson<BR>Live Networks, Inc.<BR>http://www.live555.com/<BR>_______________________________________________<BR>live-devel mailing list<BR>live-devel@lists.live555.com<BR>http://lists.live555.com/mailman/listinfo/live-devel<BR></DIV></includetail></DIV>