From: Hallvard Furuseth Date: Wed, 11 Dec 2002 08:28:42 +0000 (+0000) Subject: Plug memory leak from ldap__attribute(). X-Git-Tag: NO_SLAP_OP_BLOCKS~693 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=6e82d5b45ee505b30eb3970d8bf3c925acc28664;p=openldap Plug memory leak from ldap__attribute(). --- diff --git a/clients/tools/ldapsearch.c b/clients/tools/ldapsearch.c index 36d6cbbc91..d5c2736c9a 100644 --- a/clients/tools/ldapsearch.c +++ b/clients/tools/ldapsearch.c @@ -1543,6 +1543,7 @@ print_entry( } ber_bvecfree( bvals ); } + ldap_memfree( a ); } if( ber != NULL ) {