From 6081868ee33c44f5a7227b77876d7e7a83c8aa9e Mon Sep 17 00:00:00 2001 From: Denis Vlasenko Date: Fri, 28 Sep 2007 22:07:23 +0000 Subject: fix "if (p) free(p)" constructs --- editors/sed.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'editors') 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++]); -- cgit v1.2.3