[Freeipa-devel] [PATCH 0097] Deallocate LDAP connections in safe way

Petr Spacek pspacek at redhat.com
Tue Nov 20 12:06:59 UTC 2012


Hello,

     Deallocate LDAP connections in safe way.

     Current code does isc_mem_detach() before isc_mem_put() so
     memory context reference counter is wrong for a small time frame.

     Macro MEM_PUT_AND_DETACH will handle it properly including
     pointer zeroing.

-- 
Petr^2 Spacek
-------------- next part --------------
A non-text attachment was scrubbed...
Name: bind-dyndb-ldap-pspacek-0097-Deallocate-LDAP-connections-in-safe-way.patch
Type: text/x-patch
Size: 2543 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/freeipa-devel/attachments/20121120/58a1a4d5/attachment.bin>


More information about the Freeipa-devel mailing list