7zip: don't forget to destroy the PHYSFS_Io when closing the archive!
(transplanted from bc6cd61b76288298feb2d997b99f19deb75fd90c)
This commit is contained in:
parent
ac1ee1a3f2
commit
e216897cb9
|
@ -203,6 +203,8 @@ static void SZIP_closeArchive(void *opaque)
|
|||
SZIPinfo *info = (SZIPinfo *) opaque;
|
||||
if (info)
|
||||
{
|
||||
if (info->io)
|
||||
info->io->destroy(info->io);
|
||||
SzArEx_Free(&info->db, &SZIP_SzAlloc);
|
||||
__PHYSFS_DirTreeDeinit(&info->tree);
|
||||
allocator.Free(info);
|
||||
|
|
Loading…
Reference in New Issue