From: John Carr Date: Wed, 25 Mar 1992 14:58:33 +0000 (+0000) Subject: Simplify cleanup macro X-Git-Tag: krb5-1.0-beta2~199 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=a2ab2983f1ca9e373a6a2628f59c675446ba3653;p=krb5.git Simplify cleanup macro git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@2263 dc483132-0cff-0310-8789-dd5450dbe970 --- diff --git a/src/lib/krb5/krb/gc_via_tgt.c b/src/lib/krb5/krb/gc_via_tgt.c index 904186595..a22e344e4 100644 --- a/src/lib/krb5/krb/gc_via_tgt.c +++ b/src/lib/krb5/krb/gc_via_tgt.c @@ -86,7 +86,7 @@ OLDDECLARG(krb5_creds *, cred) return retval; #undef cleanup -#define cleanup() {(void) free(tgsrep.response.data);} +#define cleanup() free(tgsrep.response.data) switch (tgsrep.message_type) { case KRB5_TGS_REP: