avoid free'ing a constant later.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6810
dc483132-0cff-0310-8789-
dd5450dbe970
+Mon Sep 18 11:16:30 1995 Mark Eichin <eichin@cygnus.com>
+
+ * main.c (init_realm): strdup KRB5_KDB_M_NAME if we use it, to
+ avoid free'ing a constant later.
+
Fri Sep 15 01:33:40 1995 Theodore Y. Ts'o <tytso@dcl>
* main.c (init_realm): Stop after finding the first TGS key which
rdp->realm_mpname = strdup(rparams->realm_mkey_name);
else
rdp->realm_mpname = (def_mpname) ? strdup(def_mpname) :
- KRB5_KDB_M_NAME;
+ strdup(KRB5_KDB_M_NAME);
/* Handle master key type */
if (rparams && rparams->realm_enctype_valid)