From 5949d65b570c1803f0309c2d3364adf82e676110 Mon Sep 17 00:00:00 2001 From: Hallvard Furuseth Date: Mon, 1 Aug 2005 03:58:43 +0000 Subject: [PATCH] Plug memory leak --- servers/slapd/back-ldbm/search.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/servers/slapd/back-ldbm/search.c b/servers/slapd/back-ldbm/search.c index 0352720f13..94dd13553f 100644 --- a/servers/slapd/back-ldbm/search.c +++ b/servers/slapd/back-ldbm/search.c @@ -368,6 +368,8 @@ searchit: ? LDAP_SCOPE_BASE : LDAP_SCOPE_SUBTREE ); + ber_bvarray_free( erefs ); + send_search_reference( op, rs ); ber_bvarray_free( rs->sr_ref ); -- 2.39.5