diff --git a/servers/slapd/back-bdb2/dn2id.c b/servers/slapd/back-bdb2/dn2id.c index b4c17be8fb..43707b77d9 100644 --- a/servers/slapd/back-bdb2/dn2id.c +++ b/servers/slapd/back-bdb2/dn2id.c @@ -58,6 +58,7 @@ bdb2i_dn2id_add( sprintf( key.dptr, "%c%s", DN_ONE_PREFIX, pdn ); rc = bdb2i_idl_insert_key( be, db, key, id ); free( key.dptr ); + free( pdn ); } }