Skip to content
Snippets Groups Projects
Commit 0c5d1dc0 authored by Howard Chu's avatar Howard Chu
Browse files

Fix ITS#2214, clear gs->matched after freeing it.

parent 3260b267
No related branches found
No related tags found
No related merge requests found
......@@ -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) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment