[Live-devel] small leaks

Gabriel Bouvigne gabriel.bouvigne at resonate-mp4.com
Fri Aug 13 14:50:43 PDT 2004


Gabriel Bouvigne a écrit :

> I think that I might have idenfied some small leaks.

also

mediasession.cpp:

MediaSubsession::~MediaSubsession() {
   deInitiate();

   delete[] fConnectionEndpointName;
   delete[] fSavedSDPLines; delete[] fMediumName; delete[] fCodecName;
   delete[] fControlPath; delete[] fConfig; delete[] fMode;
   delete[] (char*)sessionId;

   delete fNext;
#ifdef SUPPORT_REAL_RTSP
   RealReclaimSDPAttributes(this);
#endif
}



sessionId was already deleted on teardown, but not if you exit without 
issuing a teardown.



-- 

Gabriel Bouvigne
Resonate mp4
Tel: (+33) 142 411 665


More information about the live-devel mailing list