From: Ken Raeburn Date: Tue, 21 Sep 1999 23:00:16 +0000 (+0000) Subject: * rc_dfl.c (krb5_rc_io_fetch): Set client and server fields to X-Git-Tag: krb5-1.2-beta1~226 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=c7f20cf271feefb1df1173a7964a3a4d47b58598;p=krb5.git * rc_dfl.c (krb5_rc_io_fetch): Set client and server fields to NULL after freeing them in the error case. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11838 dc483132-0cff-0310-8789-dd5450dbe970 --- diff --git a/src/lib/krb5/rcache/ChangeLog b/src/lib/krb5/rcache/ChangeLog index 3917175a4..f1ded6710 100644 --- a/src/lib/krb5/rcache/ChangeLog +++ b/src/lib/krb5/rcache/ChangeLog @@ -1,3 +1,8 @@ +1999-09-21 Ken Raeburn + + * rc_dfl.c (krb5_rc_io_fetch): Set client and server fields to + NULL after freeing them in the error case. + Mon May 10 15:26:53 1999 Danilo Almeida * Makefile.in: Do win32 build in subdir. diff --git a/src/lib/krb5/rcache/rc_dfl.c b/src/lib/krb5/rcache/rc_dfl.c index 57679f369..a86f42e71 100644 --- a/src/lib/krb5/rcache/rc_dfl.c +++ b/src/lib/krb5/rcache/rc_dfl.c @@ -386,6 +386,7 @@ errout: krb5_xfree(rep->client); if (rep->server) krb5_xfree(rep->server); + rep->client = rep->server = 0; return retval; }