diff options
author | Jim Meyering <jim@meyering.net> | 2005-05-12 07:56:14 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2005-05-12 07:56:14 +0000 |
commit | a5c650d56ca39caafcc4cf47490bfc20e1d146bb (patch) | |
tree | bfed7487ff54478b7e2e9b6dcfe69766fd6ee2c4 /src | |
parent | 55646e00b95e1ad2ea193ee3042dca41dd705e3a (diff) | |
download | coreutils-a5c650d56ca39caafcc4cf47490bfc20e1d146bb.tar.xz |
Assume `free (NULL)' works.
Diffstat (limited to 'src')
-rw-r--r-- | src/sort.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/sort.c b/src/sort.c index c5562c4d7..aea10523b 100644 --- a/src/sort.c +++ b/src/sort.c @@ -1631,8 +1631,7 @@ check (char const *file_name) xfclose (fp, file_name); free (buf.buf); - if (temp.text) - free (temp.text); + free (temp.text); return ordered; } |