]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
Assume `free (NULL)' works.
authorJim Meyering <jim@meyering.net>
Thu, 12 May 2005 07:56:14 +0000 (07:56 +0000)
committerJim Meyering <jim@meyering.net>
Thu, 12 May 2005 07:56:14 +0000 (07:56 +0000)
src/sort.c

index c5562c4d7326c4b026d18d69c27927e6330e4d23..aea10523b8084ca7bade5afe2c66a6a3755ecae0 100644 (file)
@@ -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;
 }