From: Hallvard Furuseth Date: Mon, 1 Aug 2005 03:58:43 +0000 (+0000) Subject: Plug memory leak X-Git-Tag: OPENLDAP_AC_BP~121 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=5949d65b570c1803f0309c2d3364adf82e676110;p=openldap Plug memory leak --- 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 );