[SSSD] [PATCHES] SYSDB: memory leaks

Pavel Reichl preichl at redhat.com
Thu Jun 19 15:05:49 UTC 2014


On Thu, 2014-06-19 at 10:37 -0400, Stephen Gallagher wrote:
[snip]
> We should stick with the pattern of *never* allocating memory that isn't
> being returned to the parent on the parent context. 

Hello Stephen,

thank you for review and for a new rule of thumb to follow. Updated
patch attached.

Thanks,
PR



-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-TESTS-sysdb_search_return_ENOENT-check-mem-leaks.patch
Type: text/x-patch
Size: 1059 bytes
Desc: not available
URL: <https://lists.fedorahosted.org/pipermail/sssd-devel/attachments/20140619/bc9c2f70/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-SYSDB-sysdb_search_entry-fix-memory-leak.patch
Type: text/x-patch
Size: 2662 bytes
Desc: not available
URL: <https://lists.fedorahosted.org/pipermail/sssd-devel/attachments/20140619/bc9c2f70/attachment-0001.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0003-SYSDB-sysdb_search_custom-fix-memory-leak.patch
Type: text/x-patch
Size: 1820 bytes
Desc: not available
URL: <https://lists.fedorahosted.org/pipermail/sssd-devel/attachments/20140619/bc9c2f70/attachment-0002.bin>


More information about the sssd-devel mailing list