aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--editors/sed.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/editors/sed.c b/editors/sed.c
index 6dbb1fb8f..f297db83b 100644
--- a/editors/sed.c
+++ b/editors/sed.c
@@ -1160,7 +1160,7 @@ extern int sed_main(int argc, char **argv)
1160 else { 1160 else {
1161 char *str_cmd = strdup(argv[optind]); 1161 char *str_cmd = strdup(argv[optind]);
1162 1162
1163 add_cmd_str(strd_cmd); 1163 add_cmd_str(str_cmd);
1164 free(str_cmd); 1164 free(str_cmd);
1165 optind++; 1165 optind++;
1166 } 1166 }