[Live-devel] Memory leaks ?
Ross Finlayson
finlayson at live.com
Wed Sep 7 12:09:16 PDT 2005
>>>delete m_pRtpEnv;
>>
>>You can't do this (the code won't let you). Instead, call
>> m_pRTPEnv->reclaim();
>
>In fact, I accessed it using BasicUsageEnvironment*, where
>destructor is public again.
Oops, that's a bug (which will get fixed in the next release).
You should not be able to directly delete a "UsageEnvironment"
object. Instead, call "reclaim()".
Ross Finlayson
Live Networks, Inc. (LIVE.COM)
<http://www.live.com/>
More information about the live-devel
mailing list