<DIV>m_pUsageEnvironment&nbsp;=&nbsp;BasicUsageEnvironment::createNew(*m_pTaskScheduler);</DIV>
<DIV>if(m_pUsageEnvironment&nbsp;==&nbsp;NULL)</DIV>
<DIV>{</DIV>
<DIV>service_error.init(service_error_type_failed,"BasicUsageEnvironment::createNew&nbsp;failed");</DIV>
<DIV>return&nbsp;service_error;</DIV>
<DIV>}</DIV>
<DIV>&nbsp;</DIV>
<DIV>and . how to delete this m_pUsageEnvironment;</DIV>
<DIV>&nbsp;</DIV>
<DIV><includetail>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;</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">------------------&nbsp;Original&nbsp;------------------</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>&nbsp;"Ross Finlayson"&lt;finlayson@live555.com&gt;;</DIV>
<DIV><B>Date: </B>&nbsp;Tue, Nov 2, 2010 05:10 PM</DIV>
<DIV><B>To: </B>&nbsp;"LIVE555 Streaming Media - development &amp; use"&lt;live-devel@ns.live555.com&gt;; <WBR></DIV>
<DIV></DIV>
<DIV><B>Subject: </B>&nbsp;Re: [Live-devel] memory leak</DIV></DIV>
<DIV>&nbsp;</DIV>&gt;i don't know how to delete your variant.<BR>&gt;and i saw many strDup string.wouldn't delete at all.<BR>&gt;why are you doing this.<BR>&gt;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>