mirror of
https://github.com/topjohnwu/ndk-busybox.git
synced 2024-11-28 22:20:28 +00:00
patch: fix double-free (bug 1120)
This commit is contained in:
parent
9f739445cd
commit
f7583d89b0
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user