projects
/
debian
/
gzip
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cf608a2
)
maint: remove useless if-before-free tests
author
Jim Meyering
<meyering@redhat.com>
Sat, 26 Sep 2009 17:44:15 +0000
(19:44 +0200)
committer
Jim Meyering
<meyering@redhat.com>
Sat, 26 Sep 2009 17:44:15 +0000
(19:44 +0200)
* gzip.c (do_exit): Remove useless if-before-free tests.
gzip.c
patch
|
blob
|
history
diff --git
a/gzip.c
b/gzip.c
index 6f437e02fc3378f26c1163e067afc9b63ce120fb..e7043a51d1bed040c5ae5b424de88f7c121469f7 100644
(file)
--- a/
gzip.c
+++ b/
gzip.c
@@
-1829,8
+1829,10
@@
local void do_exit(exitcode)
if (in_exit) exit(exitcode);
in_exit = 1;
- if (env != NULL) free(env), env = NULL;
- if (args != NULL) free(args), args = NULL;
+ free(env);
+ env = NULL;
+ free(args);
+ args = NULL;
FREE(inbuf);
FREE(outbuf);
FREE(d_buf);