From 7a720d4b404c803c47a4ead951d358371a79dd24 Mon Sep 17 00:00:00 2001 From: Howard Chu Date: Mon, 12 May 2003 14:29:35 +0000 Subject: [PATCH] plug memleak in alternate print_entry() --- clients/tools/ldapsearch.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 ); } } -- 2.39.5