diff options
author | Jim Meyering <jim@meyering.net> | 2005-05-12 07:53:37 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2005-05-12 07:53:37 +0000 |
commit | c73cf112919e9b66189cc67303203e5d0612ba86 (patch) | |
tree | e0fff2b42d78e84aac3a43c4b83675dc4830c1d0 | |
parent | 6242e3ebfd79d95326a82c65877974fa6b93918e (diff) | |
download | coreutils-c73cf112919e9b66189cc67303203e5d0612ba86.tar.xz |
Assume `free (NULL)' works.
-rw-r--r-- | src/date.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/date.c b/src/date.c index 0cabe3aae..dc0efd2a2 100644 --- a/src/date.c +++ b/src/date.c @@ -285,8 +285,7 @@ batch_convert (const char *input_filename, const char *format) if (fclose (in_stream) == EOF) error (EXIT_FAILURE, errno, "%s", quote (input_filename)); - if (line != NULL) - free (line); + free (line); return ok; } |