aboutsummaryrefslogtreecommitdiff
path: root/editors/sed.c
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/sed.c
parente918e155ed1d36522e0c096e43d275f1ebda0515 (diff)
downloadbusybox-w32-6081868ee33c44f5a7227b77876d7e7a83c8aa9e.tar.gz
busybox-w32-6081868ee33c44f5a7227b77876d7e7a83c8aa9e.tar.bz2
busybox-w32-6081868ee33c44f5a7227b77876d7e7a83c8aa9e.zip
fix "if (p) free(p)" constructs
Diffstat (limited to 'editors/sed.c')
-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)
157 sed_cmd = sed_cmd_next; 157 sed_cmd = sed_cmd_next;
158 } 158 }
159 159
160 if (G.hold_space) free(G.hold_space); 160 free(G.hold_space);
161 161
162 while (G.current_input_file < G.input_file_count) 162 while (G.current_input_file < G.input_file_count)
163 fclose(G.input_file_list[G.current_input_file++]); 163 fclose(G.input_file_list[G.current_input_file++]);