svn commit: r283818 - head/usr.sbin/pw
Baptiste Daroussin
bapt at FreeBSD.org
Sun May 31 12:04:07 UTC 2015
Author: bapt
Date: Sun May 31 12:04:06 2015
New Revision: 283818
URL: https://svnweb.freebsd.org/changeset/base/283818
Log:
Move cleanup functions to the right place
Modified:
head/usr.sbin/pw/pw_conf.c
Modified: head/usr.sbin/pw/pw_conf.c
==============================================================================
--- head/usr.sbin/pw/pw_conf.c Sun May 31 12:03:38 2015 (r283817)
+++ head/usr.sbin/pw/pw_conf.c Sun May 31 12:04:06 2015 (r283818)
@@ -357,9 +357,10 @@ read_userconfig(char const * file)
break;
}
}
- free(buf);
- fclose(fp);
}
+ free(buf);
+ fclose(fp);
+
return (&config);
}
More information about the svn-src-all
mailing list