projects
/
krb5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
11352a1
)
kim_ccache_iterator_next leaks principal
author
Alexandra Ellwood
<lxs@mit.edu>
Tue, 21 Oct 2008 21:54:00 +0000
(21:54 +0000)
committer
Alexandra Ellwood
<lxs@mit.edu>
Tue, 21 Oct 2008 21:54:00 +0000
(21:54 +0000)
ticket: new
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@20905
dc483132
-0cff-0310-8789-
dd5450dbe970
src/kim/lib/kim_ccache.c
patch
|
blob
|
history
diff --git
a/src/kim/lib/kim_ccache.c
b/src/kim/lib/kim_ccache.c
index 26e926d3b79dc21033672b2b3c00f3eb6187bc05..cf6a18315ed0feb9de5c56e9757818cef0d9553e 100644
(file)
--- a/
src/kim/lib/kim_ccache.c
+++ b/
src/kim/lib/kim_ccache.c
@@
-108,6
+108,9
@@
kim_error kim_ccache_iterator_next (kim_ccache_iterator in_ccache_iterator,
ccache = NULL;
err = KIM_NO_ERROR;
}
+
+ if (principal) { krb5_free_principal (in_ccache_iterator->context,
+ principal); }
}
if (!err) {