aboutsummaryrefslogtreecommitdiff
path: root/editors
diff options
context:
space:
mode:
authorDenis Vlasenko <vda.linux@googlemail.com>2007-09-28 22:07:23 +0000
committerDenis Vlasenko <vda.linux@googlemail.com>2007-09-28 22:07:23 +0000
commit6081868ee33c44f5a7227b77876d7e7a83c8aa9e (patch)
tree15efd13947c3a22f640168e535b694d318be9704 /editors
parente918e155ed1d36522e0c096e43d275f1ebda0515 (diff)
downloadbusybox-6081868ee33c44f5a7227b77876d7e7a83c8aa9e.tar.gz
fix "if (p) free(p)" constructs
Diffstat (limited to 'editors')
-rw-r--r--editors/sed.c2
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++]);