mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-24 00:29:35 -05:00
Fix ITS#2214, clear gs->matched after freeing it.
This commit is contained in:
parent
3260b26717
commit
0c5d1dc00f
1 changed files with 1 additions and 0 deletions
|
|
@ -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 a new issue