diff options
| author | Baptiste Daroussin <bapt@FreeBSD.org> | 2015-05-31 11:56:59 +0000 |
|---|---|---|
| committer | Baptiste Daroussin <bapt@FreeBSD.org> | 2015-05-31 11:56:59 +0000 |
| commit | 23ffee69bc0d6952305094df0c3dc42adfbcca35 (patch) | |
| tree | 407887284d5563ec6dcc956389f3696729066c14 /pw/pw_conf.c | |
| parent | 4d2c3c1dc5cbcf4c5a2c73352e8be95db5efb547 (diff) | |
| download | pw-darwin-23ffee69bc0d6952305094df0c3dc42adfbcca35.tar.gz pw-darwin-23ffee69bc0d6952305094df0c3dc42adfbcca35.zip | |
Remove useless test before free()
Diffstat (limited to 'pw/pw_conf.c')
| -rw-r--r-- | pw/pw_conf.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/pw/pw_conf.c b/pw/pw_conf.c index f67d04b..df0bda3 100644 --- a/pw/pw_conf.c +++ b/pw/pw_conf.c @@ -357,8 +357,7 @@ read_userconfig(char const * file) break; } } - if (linecap > 0) - free(buf); + free(buf); fclose(fp); } return (&config); |
