From: Greg Hudson Date: Fri, 10 Apr 2009 19:54:35 +0000 (+0000) Subject: Remove an unnecessary cleanup in krb5_cc_set_default_name X-Git-Tag: krb5-1.8-alpha1~550 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=bcf8a9ba3a238cc83e432bdb66d0fdd3036860ec;p=krb5.git Remove an unnecessary cleanup in krb5_cc_set_default_name git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@22191 dc483132-0cff-0310-8789-dd5450dbe970 --- diff --git a/src/lib/krb5/os/ccdefname.c b/src/lib/krb5/os/ccdefname.c index 63e00d421..7587cb007 100644 --- a/src/lib/krb5/os/ccdefname.c +++ b/src/lib/krb5/os/ccdefname.c @@ -264,8 +264,6 @@ krb5_cc_set_default_name(krb5_context context, const char *name) new_ccname = NULL; /* don't free */ } - if (new_ccname != NULL) { free (new_ccname); } - return err; }