mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-01-30 13:30:57 +08:00
Fix ITS#2214, clear gs->matched after freeing it.
This commit is contained in:
parent
3260b26717
commit
0c5d1dc00f
@ -195,6 +195,7 @@ glue_back_response (
|
||||
gs->err = err;
|
||||
if (gs->err == LDAP_SUCCESS && gs->matched) {
|
||||
free (gs->matched);
|
||||
gs->matched = NULL;
|
||||
gs->matchlen = 0;
|
||||
}
|
||||
if (gs->err != LDAP_SUCCESS && matched) {
|
||||
|
Loading…
Reference in New Issue
Block a user