From bcf8a9ba3a238cc83e432bdb66d0fdd3036860ec Mon Sep 17 00:00:00 2001 From: Greg Hudson Date: Fri, 10 Apr 2009 19:54:35 +0000 Subject: [PATCH] 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 --- src/lib/krb5/os/ccdefname.c | 2 -- 1 file changed, 2 deletions(-) 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; } -- 2.26.2