mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-24 00:29:35 -05:00
ITS#9408 fix vrfilter double-free
This commit is contained in:
parent
5c27f9569f
commit
a11b719c96
1 changed files with 4 additions and 1 deletions
|
|
@ -1628,7 +1628,10 @@ static int parseValuesReturnFilter (
|
|||
} else {
|
||||
send_ldap_result( op, rs );
|
||||
}
|
||||
if( op->o_vrFilter != NULL) vrFilter_free( op, op->o_vrFilter );
|
||||
if( op->o_vrFilter != NULL) {
|
||||
vrFilter_free( op, op->o_vrFilter );
|
||||
op->o_vrFilter = NULL;
|
||||
}
|
||||
}
|
||||
#ifdef LDAP_DEBUG
|
||||
else {
|
||||
|
|
|
|||
Loading…
Reference in a new issue