Memory leaks in ccache due to thread integration
authorEzra Peisach <epeisach@mit.edu>
Sat, 25 Dec 2004 15:29:39 +0000 (15:29 +0000)
committerEzra Peisach <epeisach@mit.edu>
Sat, 25 Dec 2004 15:29:39 +0000 (15:29 +0000)
commite5b1a744a1c6760713ddfa0761de94850f07ca94
tree6af8a01b02135fa28bb954cac671475d0c151f8f
parentcddd2e4eef8f1d05d649452e012b68521afb28cd
Memory leaks in ccache due to thread integration

* cc_file.c (krb5_fcc_close): Free the cache id.
(dereference): When removing fcc_set entry from list, free the
pointer as well.

The first was accidently dropped in the dereference code writing.
The cache id pointer is never freed.

The second error is the removal of the krb5_fcc_data from the linked list.
The fcc_set is removed from the chain, but the memory for the removed fcc_set
is never freed.

ticket:new
tags: pullup

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@16981 dc483132-0cff-0310-8789-dd5450dbe970
src/lib/krb5/ccache/ChangeLog
src/lib/krb5/ccache/cc_file.c