[Live-devel] RRHandlerRecord leak

Eric Pronovost ericpronovost at gmail.com
Wed Aug 21 08:57:32 PDT 2013


There seem to be a memory leak in RTCP.cpp. In
function setSpecificRRHandler(), I changed last line from

fSpecificRRHandlerTable->Add(fromAddress, (~0), fromPort, rrHandler);

to

RRHandlerRecord* pOld =
(RRHandlerRecord*)fSpecificRRHandlerTable->Add(fromAddress, (~0), fromPort,
rrHandler);
if (pOld) delete pOld;

(hope this is correct, this is my first post to live-devel)
Eric Pronovost
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.live555.com/pipermail/live-devel/attachments/20130821/1adcb27a/attachment.html>


More information about the live-devel mailing list