From: Kurt Zeilenga Date: Sat, 23 Jun 2001 05:05:08 +0000 (+0000) Subject: Plug idl leakage X-Git-Tag: LDBM_PRE_GIANT_RWLOCK~1283 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=6dd25ba1e68f316d12ed2a38cc1ad307715e6df6;p=openldap Plug idl leakage --- diff --git a/servers/slapd/back-ldbm/filterindex.c b/servers/slapd/back-ldbm/filterindex.c index 1d74d15bec..7ba65aae25 100644 --- a/servers/slapd/back-ldbm/filterindex.c +++ b/servers/slapd/back-ldbm/filterindex.c @@ -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; }