unless it is valid.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10514
dc483132-0cff-0310-8789-
dd5450dbe970
+Sun Apr 5 19:51:21 1998 Tom Yu <tlyu@mit.edu>
+
+ * g_cnffile.c (krb__get_srvtabname): Fix up to not free context
+ unless it is valid.
+
Wed Feb 18 16:17:49 1998 Tom Yu <tlyu@mit.edu>
* Makefile.in: Remove trailing slash from thisconfigdir. Fix up
}else {
retname = strdup(default_srvtabname);
}
- krb5_free_context(context);
+ if (context != NULL)
+ krb5_free_context(context);
return retname;
}