summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRich Megginson <rmeggins@redhat.com>2010-03-11 20:54:42 -0700
committerRich Megginson <rmeggins@redhat.com>2010-03-12 08:39:42 -0700
commited463407ead1f63ba26f64740a1e5cd1d79a03ee (patch)
treeee48a827378d2db87b18a1ebbb6be63a0b79ae80
parent2b39f92cf4bd22e2091c35b0c92e945423b311ef (diff)
downloadds-ed463407ead1f63ba26f64740a1e5cd1d79a03ee.tar.gz
ds-ed463407ead1f63ba26f64740a1e5cd1d79a03ee.tar.xz
ds-ed463407ead1f63ba26f64740a1e5cd1d79a03ee.zip
Bug 572677 - Memory leak in searches including GER control
https://bugzilla.redhat.com/show_bug.cgi?id=572677 Resolves: bug 572677 Bug Description: Memory leak in searches including GER control Reviewed by: Andrey Ivanov (Thanks!) Branch: HEAD Fix Description: The per-operation acl pblocks are cached. In order to release the pblock back to the cache free list, the connection must be provided. The connection comes from the pblock. Platforms tested: RHEL5 x86_64 Flag Day: no Doc impact: no
-rw-r--r--ldap/servers/plugins/acl/acleffectiverights.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/ldap/servers/plugins/acl/acleffectiverights.c b/ldap/servers/plugins/acl/acleffectiverights.c
index 70c7c858..9afac079 100644
--- a/ldap/servers/plugins/acl/acleffectiverights.c
+++ b/ldap/servers/plugins/acl/acleffectiverights.c
@@ -280,8 +280,6 @@ _ger_release_gerpb (
{
if ( *gerpb )
{
- /* Return conn to pb */
- slapi_pblock_set ( *gerpb, SLAPI_CONNECTION, NULL );
slapi_pblock_destroy ( *gerpb );
*gerpb = NULL;
}