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

Petr Spacek pspacek at redhat.com
Mon Jul 23 10:50:58 UTC 2012


On 07/23/2012 12:03 PM, Adam Tkac wrote:
> On Fri, Jul 20, 2012 at 02:28:09PM +0200, Petr Spacek wrote:
>> 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.
>
> Ack, please push it to master.
>
> A

Pushed to master: 
http://git.fedorahosted.org/git?p=bind-dyndb-ldap.git;a=commitdiff;h=77c06ea1910a9737bf7e2d9f5c53eeb83827c332

Petr^2 Spacek




More information about the Freeipa-devel mailing list