mirror of
https://github.com/MidnightCommander/mc
synced 2025-01-03 10:04:32 +03:00
Merge branch '4616_tar_double_free'
* 4616_tar_double_free: Ticket #4616: (tar_read_header): fix double free.
This commit is contained in:
commit
0df9c46cd1
@ -680,7 +680,6 @@ tar_read_header (struct vfs_class *me, struct vfs_s_super *archive)
|
||||
data_block = tar_find_next_block (arch);
|
||||
if (data_block == NULL)
|
||||
{
|
||||
g_free (header_copy);
|
||||
message (D_ERROR, MSG_ERROR, _("Unexpected EOF on archive file"));
|
||||
status = HEADER_FAILURE;
|
||||
goto ret;
|
||||
|
Loading…
Reference in New Issue
Block a user