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

2012-07-23 Thread Petr Spacek
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_SU

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

2012-07-23 Thread Adam Tkac
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": > htt

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

2012-07-20 Thread Petr Spacek
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=a7cd8