1
0
mirror of https://github.com/samba-team/samba.git synced 2025-10-31 12:23:52 +03:00

r2643: convert more of the auth subsyystem to the new talloc methods. This

also fixes a memory leak found with --leak-check.
This commit is contained in:
Andrew Tridgell
2004-09-26 01:43:05 +00:00
committed by Gerald (Jerry) Carter
parent 28dcd22029
commit f19201ea27
7 changed files with 35 additions and 52 deletions

View File

@@ -433,7 +433,7 @@ static void manage_gensec_request(enum stdio_helper_mode stdio_helper_mode,
reply_arg = talloc_asprintf(*gensec_state,
"%s%s%s", session_info->server_info->domain,
lp_winbind_separator(), session_info->server_info->account_name);
talloc_destroy(session_info->mem_ctx);
talloc_free(session_info);
}
} else if ((*gensec_state)->gensec_role == GENSEC_CLIENT) {
reply_code = "AF";