summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2021-12-16 18:24:16 +0100
committerJeremy Allison <jra@samba.org>2023-01-19 18:47:35 +0000
commit370b777202bbd9730209a3e18de102b4f163f18d (patch)
treed829c32b492a8f9be73519182036bcc92d60768e
parentfcecdfa8e5c651d4a27f8fcd5df6e9bce37ed8a7 (diff)
downloadsamba-370b777202bbd9730209a3e18de102b4f163f18d.tar.gz
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 <metze@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
-rw-r--r--source3/auth/auth_generic.c1
1 files changed, 1 insertions, 0 deletions
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)));