The branch, master has been updated
via c514ce8dcad auth: Add missing talloc_free() in error code path.
from 74b91490ddd s3:winbindd: split our wb_gettoken_trybuiltins() helper
https://git.samba.org/?p=samba.git;a=shortlog;h=master
- Log -----------------------------------------------------------------
commit c514ce8dcadcbbf0d86f3038d2be0f9253a76b75
Author: Jeremy Allison <[email protected]>
Date: Wed Jan 15 10:21:19 2025 -0800
auth: Add missing talloc_free() in error code path.
BUG: https://bugzilla.samba.org/show_bug.cgi?id=15782
Signed-off-by: Jeremy Allison <[email protected]>
Reviewed-by: Guenther Deschner <[email protected]>
Autobuild-User(master): Günther Deschner <[email protected]>
Autobuild-Date(master): Thu Jan 16 14:32:39 UTC 2025 on atb-devel-224
-----------------------------------------------------------------------
Summary of changes:
auth/kerberos/kerberos_pac.c | 1 +
1 file changed, 1 insertion(+)
Changeset truncated at 500 lines:
diff --git a/auth/kerberos/kerberos_pac.c b/auth/kerberos/kerberos_pac.c
index b6272ac15eb..1f7d3e7ef26 100644
--- a/auth/kerberos/kerberos_pac.c
+++ b/auth/kerberos/kerberos_pac.c
@@ -360,6 +360,7 @@ NTSTATUS kerberos_decode_pac(TALLOC_CTX *mem_ctx,
if (ret) {
DEBUG(5, ("PAC Decode: Failed to verify the service "
"signature: %s\n", error_message(ret)));
+ talloc_free(tmp_ctx);
return NT_STATUS_ACCESS_DENIED;
}
--
Samba Shared Repository