]> git.ipfire.org Git - thirdparty/krb5.git/commit
Fix minor memory leak in klist (again) 197/head
authorGreg Hudson <ghudson@mit.edu>
Wed, 27 Aug 2014 20:15:46 +0000 (16:15 -0400)
committerGreg Hudson <ghudson@mit.edu>
Sat, 4 Oct 2014 23:49:48 +0000 (19:49 -0400)
commit319d98bf13e8486f9f378ee47147c9c4bdb15c37
treedf0deee04abed9285b13f45bbd56105006447b39
parentaf0ed4df4dfae762ab5fb605f5a0c8f59cb4f6ca
Fix minor memory leak in klist (again)

Commit 6e51f9cc3152c8e419fe7f459bcf521d60358434 attempted to fix two
minor memory leaks in klist, but one of the fixes was dead code.  In
do_ccache, free princ before we look at the code which terminated the
loop, not after we have returned on either branch.
src/clients/klist/klist.c