Переглянути джерело

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
Rich Megginson 15 роки тому
батько
коміт
ed463407ea
1 змінених файлів з 0 додано та 2 видалено
  1. 0 2
      ldap/servers/plugins/acl/acleffectiverights.c

+ 0 - 2
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;
 	}