mirror of
https://git.openldap.org/openldap/openldap.git
synced 2024-12-15 03:01:09 +08:00
Fix dn_parent memory leak.
This commit is contained in:
parent
0ced1a9b1e
commit
0e502ed0b2
@ -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 );
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user