Re: [Live-devel] memory ownership in UserAuthenticationDatabase liveMedia/RTSPServer.cpp

2011-12-05 Thread Ross Finlayson
Yes, you've found a memory leak. The allocated 'password' strings should be deleted when the "UserAuthenticationDatabase" is deleted - but currently they aren't. This will be fixed in the next release of the software. Ross Finlayson Live Networks, Inc. http://www.live555.com/

[Live-devel] memory ownership in UserAuthenticationDatabase liveMedia/RTSPServer.cpp

2011-12-05 Thread PROMONET Michel
Hi, In UserAuthenticationDatabase::addUserRecord, the value inserted in the map is allocated through strDup(password). As the class allocate the memory, I think the class own this memory, then the destructor should free it. Is it possible to insert in the destructor something li