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

Petr Spacek pspacek at redhat.com
Fri Nov 23 11:11:26 UTC 2012


On 11/22/2012 01:33 PM, Adam Tkac wrote:
> On Tue, Nov 20, 2012 at 01:06:59PM +0100, Petr Spacek wrote:
>> >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.
> Ack
>
Pushed to master and v2:
bfa66088b3b4cee5037182bf30bfd0ed13663e6e

-- 
Petr^2 Spacek




More information about the Freeipa-devel mailing list