[PATCH] Fix some memory leaks.
Thiago Macieira
thiago at macieira.org
Wed Jan 15 18:43:32 UTC 2014
On quarta-feira, 15 de janeiro de 2014 18:52:42, Boris Barbulovski wrote:
> This patch fixes some memory leaks.
>
> Memory leaks were caused by broken parent/child relations.
>
> I only tested on Linux Mint 64bit.
>
> br, Boris..
All changes look correct to me.
Just note for future reference: you don't need to check that a pointer is null
before free()ing or delete'ing it. Both functions are supposed to deal with
null pointers appropriately.
--
Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org
Software Architect - Intel Open Source Technology Center
PGP/GPG: 0x6EF45358; fingerprint:
E067 918B B660 DBD1 105C 966C 33F5 F005 6EF4 5358
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 190 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.hohndel.org/pipermail/subsurface/attachments/20140115/8b544a6e/attachment.sig>
More information about the subsurface
mailing list