From: Stefan Metzmacher Date: Thu, 16 Dec 2021 17:24:16 +0000 (+0100) Subject: s3:auth: call wbcFreeMemory(info) in auth3_generate_session_info_pac() X-Git-Tag: tevent-0.14.1~71 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=370b777202bbd9730209a3e18de102b4f163f18d;p=thirdparty%2Fsamba.git s3:auth: call wbcFreeMemory(info) in auth3_generate_session_info_pac() BUG: https://bugzilla.samba.org/show_bug.cgi?id=15286 Signed-off-by: Stefan Metzmacher Reviewed-by: Jeremy Allison --- diff --git a/source3/auth/auth_generic.c b/source3/auth/auth_generic.c index ff51307e43a..6c61eb4e827 100644 --- a/source3/auth/auth_generic.c +++ b/source3/auth/auth_generic.c @@ -143,6 +143,7 @@ static NTSTATUS auth3_generate_session_info_pac(struct auth4_context *auth_ctx, info->account_name, info->domain_name, info, &server_info); + wbcFreeMemory(info); if (!NT_STATUS_IS_OK(status)) { DEBUG(10, ("make_server_info_wbcAuthUserInfo failed: %s\n", nt_errstr(status)));