]> git.sur5r.net Git - openldap/commitdiff
Plug memory leak
authorHoward Chu <hyc@openldap.org>
Wed, 18 Dec 2002 01:58:18 +0000 (01:58 +0000)
committerHoward Chu <hyc@openldap.org>
Wed, 18 Dec 2002 01:58:18 +0000 (01:58 +0000)
servers/slapd/str2filter.c

index c7a38e9cc45d6c456b6f2b158fd52a60ead14f3b..a48af4065904191fdbedf3a950fdbce971538b6d 100644 (file)
@@ -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 );