mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-03-07 14:18:15 +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 );
|
sprintf( key.dptr, "%c%s", DN_ONE_PREFIX, pdn );
|
||||||
rc = idl_insert_key( be, db, key, id );
|
rc = idl_insert_key( be, db, key, id );
|
||||||
free( key.dptr );
|
free( key.dptr );
|
||||||
|
free( pdn );
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user