There’s no memory leak here, because “setSDPLinesFromRTPSink()” is called (from
"OnDemandServerMediaSubsession::sdpLines()”) only when “fSDPLines” is NULL.
(Note line 60 of “OnDemandServerMediaSubsession.cpp”.)
Ross Finlayson
Live Networks, Inc.
http://www.live555.com/
__
1. Case Description.
Leaks occur when requesting the same rtsp token at the same time.
(The same rtsp token means the same url.)
2. Modification code.
original code.
void OnDemandServerMediaSubsession
::setSDPLinesFromRTPSink(RTPSink* rtpSink, FramedSource* inputSource,
unsigned estBitrate) {
..