From: Howard Chu Date: Wed, 18 Dec 2002 01:58:18 +0000 (+0000) Subject: Plug memory leak X-Git-Tag: NO_SLAP_OP_BLOCKS~664 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=bb9531eda695004f38d37d70dd23d8613c3e3ce3;p=openldap Plug memory leak --- 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 );