don't leak rcaches in accept_sec_context
authorTom Yu <tlyu@mit.edu>
Tue, 15 Jun 2004 18:57:17 +0000 (18:57 +0000)
committerTom Yu <tlyu@mit.edu>
Tue, 15 Jun 2004 18:57:17 +0000 (18:57 +0000)
commit66bf4d0698aa144e7e1365c2c8ece251bc7c0d99
treedd95efc616380e9b92cf78861ef450e946aeb606
parent3e5eddb39b40564e2b01136a9d2f75c0f60a9709
don't leak rcaches in accept_sec_context

* accept_sec_context.c (krb5_gss_accept_sec_context): Don't null
out rcache of auth_context prior to free if rcache was temporarily
allocated; this prevents leaking rcaches.

ticket: new
version_reported: 1.3.4
component: krb5-libs

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@16453 dc483132-0cff-0310-8789-dd5450dbe970
src/lib/gssapi/krb5/accept_sec_context.c