Hi Ross, When the RTSPClient execute SETUP request, the sessionId is stored in the MediaSubSession.
36 bytes in 4 blocks are definitely lost in loss record 469 of 573 (see: http://valgrind.org/docs/manual/mc-manual.html#mc-manual.leaks) at 0x4C27939: operator new[](unsigned long) (vg_replace_malloc.c:305) by 0xF100DD: strDup(char const*) (strDup.cpp:27) by 0xECFE97: RTSPClient::handleSETUPResponse(MediaSubsession&, char const*, char const*, unsigned int) (RTSPClient.cpp:959) by 0xED2010: RTSPClient::handleResponseBytes(int) (RTSPClient.cpp:1520) by 0xED1230: RTSPClient::incomingDataHandler1() (RTSPClient.cpp:1318) by 0xED11A6: RTSPClient::incomingDataHandler(void*, int) (RTSPClient.cpp:1311) Obviously, it is possible to free these memory when we close the subsession adding in our code something like : if (subsession->sessionId) delete []subsession->sessionId; subsession->sessionId = NULL; Let me now if you plan to free this memory somehow when MediaSession is deleted. Best Regards, Michel. [@@THALES GROUP RESTRICTED@@]
_______________________________________________ live-devel mailing list live-devel@lists.live555.com http://lists.live555.com/mailman/listinfo/live-devel