On Wed, Aug 15, 2012 at 04:04:26PM +0200, Petr Spacek wrote: > On 08/15/2012 03:31 PM, Adam Tkac wrote: > >On Wed, Aug 01, 2012 at 04:19:11PM +0200, Petr Spacek wrote: > >>Hello, > >> > >>this patch finishes LDAP connection vs. LDAP result separation. > >> > >>It is first step necessary for: > >>https://fedorahosted.org/bind-dyndb-ldap/ticket/68 > >>Avoid manual connection management outside ldap_query() > >> > >>It should prevent deadlocks in future. > >> > >>Petr^2 Spacek > > > >
... > >I recommend to use ZERO_PTR(ldap_qresult) instead of many "= NULL" > >assignments. > >It's safer and used in other *_create functions. > > Amended patch is attached. Ack -- Adam Tkac, Red Hat, Inc. _______________________________________________ Freeipa-devel mailing list Freeipa-devel@redhat.com https://www.redhat.com/mailman/listinfo/freeipa-devel