ldap/servers/slapd/back-ldbm/ldbm_delete.c | 1 + 1 file changed, 1 insertion(+)
New commits: commit 200b4e44230840a5dd970e0f6b404053545cb381 Author: Mark Reynolds mreynolds@redhat.com Date: Tue Oct 8 10:28:47 2013 -0400
Ticket 47517 - fix memory leak in ldbm_delete.c
https://fedorahosted.org/389/ticket/47517
reviewed by: nhosoi & richm(Thanks!)
diff --git a/ldap/servers/slapd/back-ldbm/ldbm_delete.c b/ldap/servers/slapd/back-ldbm/ldbm_delete.c index a3dc17b..d1ad3ef 100644 --- a/ldap/servers/slapd/back-ldbm/ldbm_delete.c +++ b/ldap/servers/slapd/back-ldbm/ldbm_delete.c @@ -336,6 +336,7 @@ ldbm_back_delete( Slapi_PBlock *pb ) * and numsubordinate count could get confused. */ ID pid = (ID)strtol(pid_str, (char **)NULL, 10); + slapi_ch_free_string(&pid_str); parent = id2entry(be, pid ,NULL, &retval); if (parent && cache_lock_entry(&inst->inst_cache, parent)) { /* Failed to obtain parent entry's entry lock */
389-commits@lists.fedoraproject.org