diff options
author | Baptiste Daroussin <bapt@FreeBSD.org> | 2015-05-31 12:04:06 +0000 |
---|---|---|
committer | Baptiste Daroussin <bapt@FreeBSD.org> | 2015-05-31 12:04:06 +0000 |
commit | 861c9030d5b3c835e61181480716d6af26d463e4 (patch) | |
tree | 8bbfcdb60d2d34b6350576242c0b105f231653b1 /pw/pw_conf.c | |
parent | fcf1df7c5811847a0fff8bba94e21edfaeb98027 (diff) | |
download | pw-darwin-861c9030d5b3c835e61181480716d6af26d463e4.tar.gz pw-darwin-861c9030d5b3c835e61181480716d6af26d463e4.tar.zst pw-darwin-861c9030d5b3c835e61181480716d6af26d463e4.zip |
Move cleanup functions to the right place
Diffstat (limited to 'pw/pw_conf.c')
-rw-r--r-- | pw/pw_conf.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/pw/pw_conf.c b/pw/pw_conf.c index df0bda3..06117e2 100644 --- a/pw/pw_conf.c +++ b/pw/pw_conf.c @@ -357,9 +357,10 @@ read_userconfig(char const * file) break; } } - free(buf); - fclose(fp); } + free(buf); + fclose(fp); + return (&config); } |