diff --git a/servers/slapd/back-ldbm/dn2id.c b/servers/slapd/back-ldbm/dn2id.c index 0b3dbece36..2e1238ec9f 100644 --- a/servers/slapd/back-ldbm/dn2id.c +++ b/servers/slapd/back-ldbm/dn2id.c @@ -62,6 +62,7 @@ dn2id_add( sprintf( key.dptr, "%c%s", DN_ONE_PREFIX, pdn ); rc = idl_insert_key( be, db, key, id ); free( key.dptr ); + free( pdn ); } }