From: Kurt Zeilenga Date: Wed, 3 Feb 1999 05:00:41 +0000 (+0000) Subject: Plug leak of datum. Should be freed after use. X-Git-Tag: OPENLDAP_SLAPD_BACK_LDAP~653 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=368a507c9a735a9f0a97d4d4b962219940fa33b3;p=openldap Plug leak of datum. Should be freed after use. --- diff --git a/servers/slapd/tools/ldif2id2children.c b/servers/slapd/tools/ldif2id2children.c index 17f87a1cc1..f15fb5ac32 100644 --- a/servers/slapd/tools/ldif2id2children.c +++ b/servers/slapd/tools/ldif2id2children.c @@ -282,6 +282,8 @@ main( int argc, char **argv ) } (void) memcpy( (char *) &pid, data.dptr, sizeof(ID) ); + + ldbm_datum_free( db->dbc_db, data); } sprintf( buf2, "%c%ld", EQ_PREFIX, pid );