It seems like there are two leaks in the implementation of REGISTER and DEREGISTER command in the RTSPServer.
1. In liveMedia/RTSPServerRegister.cpp in the handleResponse() method of the RegisterRequestRecord and DeregisterRequestRecord classes the last statement is: > delete this; This will destroy the Medium object but will not remove it from the MediaLookupTable. I think a simple fix to this would be to do: > Medium::close(this); instead. 2. The rtspURLToRegister parameter passed to the RegisterRequestRecord and DeregisterRequestRecord constructors is the return value of the RTSPServer::rtspURL() method which is dynamically allocated and never gets freed. Regards, -- Micha Kalfon
_______________________________________________ live-devel mailing list live-devel@lists.live555.com http://lists.live555.com/mailman/listinfo/live-devel