mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-01-06 10:46:21 +08:00
fix potential double-free (valgrind; ITS#5137)
This commit is contained in:
parent
9f36fafe55
commit
9c5c20b1b9
@ -726,9 +726,6 @@ cleanup:;
|
||||
ldap_memfree( li.li_uri );
|
||||
li.li_uri = NULL;
|
||||
|
||||
op->o_tmpfree( op->o_req_dn.bv_val, op->o_tmpmemctx );
|
||||
op->o_tmpfree( op->o_req_ndn.bv_val, op->o_tmpmemctx );
|
||||
|
||||
if ( temporary ) {
|
||||
lip->li_uri = NULL;
|
||||
lip->li_bvuri = NULL;
|
||||
|
Loading…
Reference in New Issue
Block a user