git.samba.org
/
kseeger
/
samba-autobuild-v4-16-test
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e9caa1e
)
kdc: Fix leak
author
Joseph Sutton
<josephsutton@catalyst.net.nz>
Thu, 30 Dec 2021 03:20:46 +0000
(16:20 +1300)
committer
Joseph Sutton
<jsutton@samba.org>
Mon, 17 Jan 2022 20:05:32 +0000
(20:05 +0000)
Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
source4/kdc/wdc-samba4.c
patch
|
blob
|
history
diff --git
a/source4/kdc/wdc-samba4.c
b/source4/kdc/wdc-samba4.c
index a60eb17e9fe354a3e6b51568bb89682ce955d642..1d50745e6fdae75f76dd769642f82889990b8be7 100644
(file)
--- a/
source4/kdc/wdc-samba4.c
+++ b/
source4/kdc/wdc-samba4.c
@@
-224,6
+224,7
@@
static krb5_error_code samba_wdc_reget_pac2(krb5_context context,
}
ret = hdb_enctype2key(context, &krbtgt->entry, etype, &key);
if (ret != 0) {
+ talloc_free(mem_ctx);
return ret;
}