]> git.sur5r.net Git - openldap/commitdiff
plug substrings filter memory leak
authorKurt Zeilenga <kurt@openldap.org>
Fri, 22 Jun 2001 18:09:19 +0000 (18:09 +0000)
committerKurt Zeilenga <kurt@openldap.org>
Fri, 22 Jun 2001 18:09:19 +0000 (18:09 +0000)
servers/slapd/filter.c

index 8678f48b64f80f86a46f181b544d54c1d775c7b8..70aa4b5e28389ab03a2a44e277c05a6a44f4d762 100644 (file)
@@ -702,6 +702,7 @@ filter_free( Filter *f )
                if ( f->f_sub_final != NULL ) {
                        ber_bvfree( f->f_sub_final );
                }
+               ch_free( f->f_sub );
                break;
 
        case LDAP_FILTER_AND: