From: Jim Meyering Date: Thu, 12 May 2005 07:56:14 +0000 (+0000) Subject: Assume `free (NULL)' works. X-Git-Tag: CPPI-1_12~825 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a5c650d56ca39caafcc4cf47490bfc20e1d146bb;p=thirdparty%2Fcoreutils.git Assume `free (NULL)' works. --- diff --git a/src/sort.c b/src/sort.c index c5562c4d73..aea10523b8 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; }