Remove an unnecessary cleanup in krb5_cc_set_default_name
authorGreg Hudson <ghudson@mit.edu>
Fri, 10 Apr 2009 19:54:35 +0000 (19:54 +0000)
committerGreg Hudson <ghudson@mit.edu>
Fri, 10 Apr 2009 19:54:35 +0000 (19:54 +0000)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@22191 dc483132-0cff-0310-8789-dd5450dbe970

src/lib/krb5/os/ccdefname.c

index 63e00d4217a851096ef7e5eb57544aff75e852c9..7587cb007f208492c55958202a6081372315c955 100644 (file)
@@ -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;
 }