[Live-devel] MORE: Memory leaks in DarwinInjector.cpp

Ross Finlayson finlayson at live555.com
Fri Nov 16 09:05:15 PST 2007


The next version of gthe "LIVE555 Streaming Media" code - to be 
released probably within a day or so - will include your suggested 
changes 1) and 3).

However, I won't be making your suggested change 2/.  The "sessionId" 
field of "MediaSession" is one of a few fields that are not managed 
by the "MediaSession" object itself (note "MediaSession.hh"). 
Instead, it is managed/assigned externally.  (See, e.g., 
"RTSPClient.cpp".)  If you allocate memory to assign to the 
"sessionId" field, then you are also responsible for deleting that 
memory.
-- 

Ross Finlayson
Live Networks, Inc.
http://www.live555.com/


More information about the live-devel mailing list