mirror of
https://github.com/sheumann/hush.git
synced 2024-12-22 14:30:31 +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