summaryrefslogtreecommitdiff
path: root/editors/patch.c
diff options
context:
space:
mode:
Diffstat (limited to 'editors/patch.c')
-rw-r--r--editors/patch.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/editors/patch.c b/editors/patch.c
index 8e885d0..d13b06a 100644
--- a/editors/patch.c
+++ b/editors/patch.c
@@ -214,6 +214,7 @@ int patch_main(int argc, char **argv)
bb_error_msg("hunk #%d FAILED at %d", hunk_count, hunk_offset_start);
hunk_error++;
free(patch_line);
+ patch_line = NULL;
break;
}
free(src_line);