From bb9531eda695004f38d37d70dd23d8613c3e3ce3 Mon Sep 17 00:00:00 2001 From: Howard Chu Date: Wed, 18 Dec 2002 01:58:18 +0000 Subject: [PATCH] Plug memory leak --- servers/slapd/str2filter.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/servers/slapd/str2filter.c b/servers/slapd/str2filter.c index c7a38e9cc4..a48af40659 100644 --- a/servers/slapd/str2filter.c +++ b/servers/slapd/str2filter.c @@ -59,7 +59,7 @@ str2filter( const char *str ) goto done; } - ber_free( ber, 0 ); + ber_free( ber, 1 ); ber = (BerElement *)berbuf; ber_init2( ber, bv, 0 ); -- 2.39.5