[Live-devel] memory leak in RTSPClient::handleRequestError()

Schoenstedt, Holger Schoenstedt.H at st-sportservice.com
Thu Feb 28 04:20:16 PST 2013


Hello,

I'm developing a RTSP client application. While testing I've found a possible memory leak in RTSPClient::handleRequestError(). While calling the handler there is a string duplication of the error string.

IMHO this string should be freed inside RTSPClient::handleRequestError() after the call to the handler. Am I right? Or should the strings freed inside the handler call?

Cheers,

Holger Schönstedt
Software Engineer

ST SPORTSERVICE GmbH
Wiesenring 11
D - 04159 Leipzig - Germany

Phone:   +49 341 46 21 100
Fax:       +49 341 46 21 400
schoenstedt.h at st-sportservice.com<mailto:schoenstedt.h at st-sportservice.com>
www.swisstiming.com<http://www.swisstiming.com/>

Firmensitz · Registered Offices: Leipzig
Amtsgericht · District Court: Leipzig HRB 2325
Geschäftsführer · Managing Directors: Dr. Ulrich Heilfort, Eckhard Frank
Aufsichtsratsvorsitzender · Chairman of the Supervisory Board: Georges N. Hayek
*******************************************************************************
This e-mail message is intended only for the addresse(s) and contains
information which may be confidential. If you are not the intended
recipient please do not read, save, forward, disclose or copy the contents
of this e-mail. If this e-mail has been sent to you in error, please delete this 
e-mail and any copies or links to this e-mail completely and immediately
from your system. We also like to inform you that communication via e-mail
over the Internet is insecure because third parties may have the possibility
to access and manipulate e-mails.

Any views expressed in this message are those of the individual sender,
except where the sender specifically states them to be the views of
The Swatch Group Ltd.
*******************************************************************************
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.live555.com/pipermail/live-devel/attachments/20130228/89e3509d/attachment-0001.html>


More information about the live-devel mailing list