ldap/servers/slapd/back-ldbm/vlv.c | 1 +
1 file changed, 1 insertion(+)
New commits:
commit c860c5c441ca7f6c254faa99880cd6db5e1e4446
Author: Rich Megginson <rmeggins(a)redhat.com>
Date: Mon Jun 20 19:39:54 2011 -0600
Bug 711679 - unresponsive LDAP service when deleting vlv on replica
https://bugzilla.redhat.com/show_bug.cgi?id=711679
Resolves: bug 711679
Bug Description: unresponsive LDAP service when deleting vlv on replica
Reviewed by: nkinder (Thanks!)
Branch: master
Fix Description: The original fix introduced a memory leak found by
Coverity. This fixes the leak.
Platforms tested: RHEL6 x86_64
Flag Day: no
Doc impact: no
diff --git a/ldap/servers/slapd/back-ldbm/vlv.c b/ldap/servers/slapd/back-ldbm/vlv.c
index 063b3a1..c9c3004 100644
--- a/ldap/servers/slapd/back-ldbm/vlv.c
+++ b/ldap/servers/slapd/back-ldbm/vlv.c
@@ -116,6 +116,7 @@ int vlv_AddIndexEntry(Slapi_PBlock *pb, Slapi_Entry* entryBefore,
Slapi_Entry* e
vlvIndex_init(newVlvIndex, be, parent, entryBefore);
vlvSearch_addIndex(parent, newVlvIndex);
}
+ slapi_ch_free_string(&name);
}
PR_RWLock_Unlock(be->vlvSearchList_lock);
slapi_sdn_done(&parentdn);