From: Howard Chu Date: Mon, 12 May 2003 14:29:35 +0000 (+0000) Subject: plug memleak in alternate print_entry() X-Git-Tag: OPENLDAP_REL_ENG_2_2_0ALPHA~146 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=7a720d4b404c803c47a4ead951d358371a79dd24;p=openldap plug memleak in alternate print_entry() --- diff --git a/clients/tools/ldapsearch.c b/clients/tools/ldapsearch.c index daebef8ef5..ec219867ec 100644 --- a/clients/tools/ldapsearch.c +++ b/clients/tools/ldapsearch.c @@ -1367,7 +1367,7 @@ print_entry( bvals[ i ].bv_val, bvals[ i ].bv_len ); } } - ber_memfree( bvals ); + ber_bvarray_free( bvals ); } }