mirror of
https://github.com/YGGverse/xash3d-fwgs.git
synced 2025-01-17 18:40:02 +00:00
filesystem: pak: no need to free files ptr anymore
This commit is contained in:
parent
f3400c983e
commit
ee218f36e0
@ -315,8 +315,6 @@ FS_Close_PAK
|
|||||||
*/
|
*/
|
||||||
static void FS_Close_PAK( searchpath_t *search )
|
static void FS_Close_PAK( searchpath_t *search )
|
||||||
{
|
{
|
||||||
if( search->pack->files )
|
|
||||||
Mem_Free( search->pack->files );
|
|
||||||
if( search->pack->handle >= 0 )
|
if( search->pack->handle >= 0 )
|
||||||
close( search->pack->handle );
|
close( search->pack->handle );
|
||||||
Mem_Free( search->pack );
|
Mem_Free( search->pack );
|
||||||
|
Loading…
x
Reference in New Issue
Block a user