* src/lib/krb5/krb/srv_rcache.c (krb5_get_server_rcache): Adapted
authorTom Yu <tlyu@mit.edu>
Fri, 30 Jun 2006 03:57:20 +0000 (03:57 +0000)
committerTom Yu <tlyu@mit.edu>
Fri, 30 Jun 2006 03:57:20 +0000 (03:57 +0000)
commitb1dea37d9afff88fc76560c00dfe0e8ab324d193
tree5057ae5bf36c2cabeb57db4748779bbb0acc1d4f
parent2316e1c4159552a897ac267e04ae0b84f08fa8b5
* src/lib/krb5/krb/srv_rcache.c (krb5_get_server_rcache): Adapted
patch from Shawn Emery to set rcache = 0 in case of
krb5_rc_resolve_full failure because krb5_rc_resolve_full frees
but doesn't null rcache.  Also restore free of rcache in cleanup
code.  Continue to not null rcache in failure on
krb5_rc_recover_or_initialize because krb5_rc_close doesn't free
rcache.

ticket: 3962
tags: pullup

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@18283 dc483132-0cff-0310-8789-dd5450dbe970
src/lib/krb5/krb/srv_rcache.c