diff options
author | 2015-05-31 12:04:06 +0000 | |
---|---|---|
committer | 2015-05-31 12:04:06 +0000 | |
commit | d171155f921f281ec62d2d5a084dcdb76f5eb3e7 (patch) | |
tree | 5d31f270d00d9952a3380501729694278eb3790b /pw | |
parent | 23ffee69bc0d6952305094df0c3dc42adfbcca35 (diff) | |
download | pw-darwin-d171155f921f281ec62d2d5a084dcdb76f5eb3e7.tar.gz pw-darwin-d171155f921f281ec62d2d5a084dcdb76f5eb3e7.tar.zst pw-darwin-d171155f921f281ec62d2d5a084dcdb76f5eb3e7.zip |
Move cleanup functions to the right place
Diffstat (limited to 'pw')
-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); } |