[Freeipa-devel] [PATCH 0038] Fix two memory leaks in ldap_query()

Petr Spacek pspacek at redhat.com
Fri Jul 20 12:28:09 UTC 2012


Hello,

this patch fixes two memory leaks in ldap_query(). Both memory leaks occurs 
after "non-success" queries.

It effectively re-implements fix for "ldap_query can incorrectly return 
ISC_R_SUCCESS even when failed":
http://git.fedorahosted.org/git/?p=bind-dyndb-ldap.git;a=commitdiff;h=a7cd8ae747b3a81a02ab9e5dbefe1c595aa24ff6

Please double-check this approach.

Thanks.

Petr^2 Spacek
-------------- next part --------------
A non-text attachment was scrubbed...
Name: bind-dyndb-ldap-pspacek-0038-Fix-two-memory-leaks-in-ldap_query.patch
Type: text/x-patch
Size: 1577 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/freeipa-devel/attachments/20120720/a8e76a48/attachment.bin>


More information about the Freeipa-devel mailing list