[PC-BSD Commits] r18006 - pcbsd/current/src-sh/pc-adctl/krb
svn at pcbsd.org
svn at pcbsd.org
Mon Jul 30 15:27:43 PDT 2012
Author: johnh
Date: 2012-07-30 22:27:43 +0000 (Mon, 30 Jul 2012)
New Revision: 18006
Modified:
pcbsd/current/src-sh/pc-adctl/krb/krbconf.c
Log:
Had the ordering incorrect and was freeing/setting the filename to NULL
and failing everytime.
Modified: pcbsd/current/src-sh/pc-adctl/krb/krbconf.c
===================================================================
--- pcbsd/current/src-sh/pc-adctl/krb/krbconf.c 2012-07-30 22:24:31 UTC (rev 18005)
+++ pcbsd/current/src-sh/pc-adctl/krb/krbconf.c 2012-07-30 22:27:43 UTC (rev 18006)
@@ -950,12 +950,12 @@
err(EX_NOINPUT, "%s", outfile);
}
+ if (infile != NULL)
+ yyparse();
+
xfree(&infile);
xfree(&outfile);
- if (infile != NULL)
- yyparse();
-
do_modifications();
write_krb5_conf();
krb5_conf_free();
More information about the Commits
mailing list