returned rparams pointer to NULL.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6867
dc483132-0cff-0310-8789-
dd5450dbe970
+Tue Sep 26 16:24:00 1995 <tytso@rsts-11.mit.edu>
+
+ * alt_prof.c (krb5_read_realm_params): On an error, initialize the
+ returned rparams pointer to NULL.
+
Mon Sep 25 16:54:18 1995 Theodore Y. Ts'o <tytso@dcl>
* Makefile.in: Removed "foo:: foo-$(WHAT)" lines from the
if (kret) {
if (rparams)
krb5_free_realm_params(kcontext, rparams);
- } else
- *rparamp = rparams;
+ rparams = 0;
+ }
+ *rparamp = rparams;
return(kret);
}