diff options
author | Glenn L McGrath | 2003-09-24 10:23:39 +0000 |
---|---|---|
committer | Glenn L McGrath | 2003-09-24 10:23:39 +0000 |
commit | 761ec20f81354a9fcb7a4098c29322847fc0aa0c (patch) | |
tree | 64cabe6d3f4ecf4b09d11a0d8beda905b8151c52 /editors/sed.c | |
parent | a406a9c8530b01cac66c8b2adb94ad733032af04 (diff) | |
download | busybox-761ec20f81354a9fcb7a4098c29322847fc0aa0c.zip busybox-761ec20f81354a9fcb7a4098c29322847fc0aa0c.tar.gz |
Fix some typo's, remove some extra free statements
Diffstat (limited to 'editors/sed.c')
-rw-r--r-- | editors/sed.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/editors/sed.c b/editors/sed.c index 8b98a31..1c016ac 100644 --- a/editors/sed.c +++ b/editors/sed.c @@ -1010,17 +1010,15 @@ static void process_file(FILE * file) next_line = bb_get_chomped_line_from_file(file); linenum++; } else { - /* Jump to end of script and exist */ + /* Jump to end of script and exit */ deleted = 1; - free(next_line); next_line = NULL; } break; case 'N': /* Append the next line to the current line */ if (next_line == NULL) { - /* Jump to end of script and exist */ + /* Jump to end of script and exit */ deleted = 1; - free(next_line); #ifdef CONFIG_FEATURE_SED_GNU_COMPATABILITY /* GNU sed will add the newline character * The GNU sed info page labels this as a bug that wont be fixed |