summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2021-12-16 18:24:16 +0100
committerJule Anger <janger@samba.org>2023-01-23 10:01:59 +0000
commit44ec3e4f29208406ae6f73416b092d8754adfb0b (patch)
tree3ec26957e9477ce2e0fcaee0325be0e0c80e02a5
parent02e56ac1bb5c97e10b57c76c0f14fc9b3b06779d (diff)
downloadsamba-44ec3e4f29208406ae6f73416b092d8754adfb0b.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> (cherry picked from commit e27084f5d8c3a151c5d0b266118f0d71b641dc85)
-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)));