]> git.sur5r.net Git - openldap/commitdiff
Plug memory leak
authorHallvard Furuseth <hallvard@openldap.org>
Mon, 1 Aug 2005 03:58:43 +0000 (03:58 +0000)
committerHallvard Furuseth <hallvard@openldap.org>
Mon, 1 Aug 2005 03:58:43 +0000 (03:58 +0000)
servers/slapd/back-ldbm/search.c

index 0352720f13655e85384e9de5e1a84251baf31c77..94dd13553f633cf2c0388786d593d17e390bfe13 100644 (file)
@@ -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 );