[Pkg-openldap-devel] r720 - openldap/trunk-2.3/debian/patches
Matthijs Mohlmann
active2-guest at costa.debian.org
Sat Aug 26 21:45:50 UTC 2006
Author: active2-guest
Date: 2006-08-26 21:45:49 +0000 (Sat, 26 Aug 2006)
New Revision: 720
Modified:
openldap/trunk-2.3/debian/patches/startup-memleak-fix
Log:
* Extended the startup-memleak fix.
Modified: openldap/trunk-2.3/debian/patches/startup-memleak-fix
===================================================================
--- openldap/trunk-2.3/debian/patches/startup-memleak-fix 2006-08-25 18:06:54 UTC (rev 719)
+++ openldap/trunk-2.3/debian/patches/startup-memleak-fix 2006-08-26 21:45:49 UTC (rev 720)
@@ -20,3 +20,23 @@
ldap_pvt_thread_mutex_destroy( &li->li_log_mutex );
ldap_pvt_thread_mutex_destroy( &li->li_op_mutex );
free( li );
+Index: servers/slapd/back-bdb/cache.c
+===================================================================
+--- servers/slapd/back-bdb/cache.c.orig
++++ servers/slapd/back-bdb/cache.c
+@@ -707,6 +707,7 @@
+ &ep->e_nname, eip );
+ if ( *eip ) islocked = 1;
+ if ( rc ) {
++ ep->e_private = NULL;
+ #ifdef SLAP_ZONE_ALLOC
+ bdb_entry_return( bdb, ep, (*eip)->bei_zseq );
+ #else
+@@ -811,6 +812,7 @@
+ bdb_cache_entryinfo_unlock( *eip );
+ }
+ if ( ep ) {
++ ep->e_private = NULL;
+ #ifdef SLAP_ZONE_ALLOC
+ bdb_entry_return( bdb, ep, (*eip)->bei_zseq );
+ #else
More information about the Pkg-openldap-devel
mailing list