Commit 21981053 authored by Howard Chu's avatar Howard Chu Committed by Quanah Gibson-Mount
Browse files

ITS#9408 fix vrfilter double-free

parent 6aade632
...@@ -1578,7 +1578,10 @@ static int parseValuesReturnFilter ( ...@@ -1578,7 +1578,10 @@ static int parseValuesReturnFilter (
} else { } else {
send_ldap_result( op, rs ); 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 #ifdef LDAP_DEBUG
else { else {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment