summaryrefslogtreecommitdiff
path: root/source4/utils
diff options
context:
space:
mode:
Diffstat (limited to 'source4/utils')
-rw-r--r--source4/utils/ntlm_auth.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/utils/ntlm_auth.c b/source4/utils/ntlm_auth.c
index c99dcb1b7a..f741999ac9 100644
--- a/source4/utils/ntlm_auth.c
+++ b/source4/utils/ntlm_auth.c
@@ -320,7 +320,7 @@ static void manage_gensec_request(enum stdio_helper_mode stdio_helper_mode,
if (strncmp(buf, "YR", 2) == 0) {
if (gensec_state && *gensec_state) {
- gensec_end(gensec_state);
+ talloc_free(*gensec_state);
*gensec_state = NULL;
}
} else if ( (strncmp(buf, "OK", 2) == 0)) {