[Live-devel] small leaks

Laurent Pinchart laurent.pinchart at capflow.com
Thu Aug 12 17:29:17 PDT 2004


> ----------------------------------------
> *rtspclient.cpp
>
> RTSPClient::~RTSPClient() {
>    reset();
>    delete[] fUserAgentHeaderStr;
>    if (fLastSessionId)
>      delete[] fLastSessionId;
> }

No need to test if fLastSessionId is null, delete does it automatically.

Laurent Pinchart
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: signature
Url : http://lists.live.com/pipermail/live-devel/attachments/20040812/5ce82bad/attachment.bin


More information about the live-devel mailing list