From 368a507c9a735a9f0a97d4d4b962219940fa33b3 Mon Sep 17 00:00:00 2001 From: Kurt Zeilenga Date: Wed, 3 Feb 1999 05:00:41 +0000 Subject: [PATCH] Plug leak of datum. Should be freed after use. --- servers/slapd/tools/ldif2id2children.c | 2 ++ 1 file changed, 2 insertions(+) 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 ); -- 2.39.5