mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-24 00:29:35 -05:00
use preallocated entries? (otherwise bdb_add and others leak...)
This commit is contained in:
parent
d95b88da21
commit
3a83c813df
1 changed files with 1 additions and 1 deletions
|
|
@ -846,7 +846,7 @@ Entry *entry_dup( Entry *e )
|
|||
{
|
||||
Entry *ret;
|
||||
|
||||
ret = (Entry *)ch_calloc( 1, sizeof(*ret) );
|
||||
ret = entry_alloc();
|
||||
|
||||
ret->e_id = e->e_id;
|
||||
ber_dupbv( &ret->e_name, &e->e_name );
|
||||
|
|
|
|||
Loading…
Reference in a new issue