diff options
author | Jim Meyering <jim@meyering.net> | 2000-07-19 21:00:20 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2000-07-19 21:00:20 +0000 |
commit | fde07e7f99092f7c14a26c973b2313707b0f34b6 (patch) | |
tree | 6c1b98f2f69d1cc0675b8f9fd1b12b1ee1b21268 | |
parent | 6fcabe7b2b7c837c0ed9d4b983797835066facb2 (diff) | |
download | coreutils-fde07e7f99092f7c14a26c973b2313707b0f34b6.tar.xz |
(batch_convert): Free `initial_TZ' only if it was set.
-rw-r--r-- | src/date.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/date.c b/src/date.c index d8c8f8aa4..69abb78c0 100644 --- a/src/date.c +++ b/src/date.c @@ -287,7 +287,8 @@ batch_convert (const char *input_filename, const char *format) } } - free (initial_TZ); + if (universal_time) + free (initial_TZ); if (fclose (in_stream) == EOF) error (2, errno, "`%s'", input_filename); |