diff options
author | Jim Meyering <meyering@redhat.com> | 2010-08-28 21:54:17 +0200 |
---|---|---|
committer | Jim Meyering <meyering@redhat.com> | 2010-09-01 17:17:31 +0200 |
commit | fc9d948d7e6ff916b3ddb3ed371a6f8aa7f2c624 (patch) | |
tree | bff69db677ef50f394e10ec0a0ebabcdab583bef | |
parent | 126d59542f89774a4c331a6a52b4c5dce4fce25e (diff) | |
download | coreutils-fc9d948d7e6ff916b3ddb3ed371a6f8aa7f2c624.tar.xz |
tac: suppress technically unneeded "free"
* src/tac.c (main): Guard final free with #ifdef lint.
Suggested by Paul Eggert.
-rw-r--r-- | src/tac.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -666,8 +666,10 @@ main (int argc, char **argv) ok = false; } +#ifdef lint size_t offset = sentinel_length ? sentinel_length : 1; free (G_buffer - offset); +#endif exit (ok ? EXIT_SUCCESS : EXIT_FAILURE); } |