diff options
author | Denis Vlasenko <vda.linux@googlemail.com> | 2007-09-29 02:07:23 +0400 |
---|---|---|
committer | Denis Vlasenko <vda.linux@googlemail.com> | 2007-09-29 02:07:23 +0400 |
commit | 6081868ee33c44f5a7227b77876d7e7a83c8aa9e (patch) | |
tree | 15efd13947c3a22f640168e535b694d318be9704 /editors | |
parent | e918e155ed1d36522e0c096e43d275f1ebda0515 (diff) |
fix "if (p) free(p)" constructs
Diffstat (limited to 'editors')
-rw-r--r-- | editors/sed.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/editors/sed.c b/editors/sed.c index a2e2b7349..dcdf382dc 100644 --- a/editors/sed.c +++ b/editors/sed.c @@ -157,7 +157,7 @@ static void sed_free_and_close_stuff(void) sed_cmd = sed_cmd_next; } - if (G.hold_space) free(G.hold_space); + free(G.hold_space); while (G.current_input_file < G.input_file_count) fclose(G.input_file_list[G.current_input_file++]); |