]> git.sur5r.net Git - openldap/commitdiff
Plug idl leakage
authorKurt Zeilenga <kurt@openldap.org>
Sat, 23 Jun 2001 05:05:08 +0000 (05:05 +0000)
committerKurt Zeilenga <kurt@openldap.org>
Sat, 23 Jun 2001 05:05:08 +0000 (05:05 +0000)
servers/slapd/back-ldbm/filterindex.c

index 1d74d15bec972745924f6a31b4b9880bea7ad1fc..7ba65aae25aad091b16b4f37ad382855a87eac2d 100644 (file)
@@ -655,6 +655,7 @@ approx_candidates(
                save = idl;
                idl = idl_intersection( be, idl, tmp );
                idl_free( save );
+               idl_free( tmp );
 
                if( idl == NULL ) break;
        }
@@ -897,6 +898,7 @@ substring_candidates(
                save = idl;
                idl = idl_intersection( be, idl, tmp );
                idl_free( save );
+               idl_free( tmp );
 
                if( idl == NULL ) break;
        }