mirror of
https://git.openldap.org/openldap/openldap.git
synced 2026-02-17 17:48:20 -05:00
ITS#7927 fix double-free of searchref
This commit is contained in:
parent
8d346721a6
commit
e5f5a4ab5f
1 changed files with 3 additions and 2 deletions
|
|
@ -1019,7 +1019,8 @@ notfound:
|
|||
|
||||
send_search_reference( op, rs );
|
||||
|
||||
mdb_entry_return( op, e );
|
||||
if (e != base)
|
||||
mdb_entry_return( op, e );
|
||||
rs->sr_entry = NULL;
|
||||
e = NULL;
|
||||
|
||||
|
|
@ -1184,7 +1185,7 @@ done:
|
|||
rs->sr_v2ref = NULL;
|
||||
}
|
||||
if (base)
|
||||
mdb_entry_return( op,base);
|
||||
mdb_entry_return( op, base );
|
||||
scope_chunk_ret( op, scopes );
|
||||
|
||||
return rs->sr_err;
|
||||
|
|
|
|||
Loading…
Reference in a new issue