git.samba.org
/
metze
/
heimdal
/
wip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
33137a8
)
gss: don't leak client_cred in test_context
author
Luke Howard
<lukeh@padl.com>
Thu, 16 Apr 2020 07:13:16 +0000
(07:13 +0000)
committer
Luke Howard
<lukeh@padl.com>
Thu, 16 Apr 2020 07:22:27 +0000
(17:22 +1000)
Don't leak client credential handle in test_context.
lib/gssapi/test_context.c
patch
|
blob
|
history
diff --git
a/lib/gssapi/test_context.c
b/lib/gssapi/test_context.c
index 91ad99a07a240bd1e2ab4024b62179e5da921503..1462da190dfb00e8cbd6e81aa375efa537df9e00 100644
(file)
--- a/
lib/gssapi/test_context.c
+++ b/
lib/gssapi/test_context.c
@@
-1241,6
+1241,7
@@
main(int argc, char **argv)
}
+ gss_release_cred(&min_stat, &client_cred);
empty_release();
krb5_free_context(context);