Browse Source

filesystem: pak: no need to free files ptr anymore

pull/2/head
Alibek Omarov 2 years ago
parent
commit
ee218f36e0
  1. 2
      filesystem/pak.c

2
filesystem/pak.c

@ -315,8 +315,6 @@ FS_Close_PAK @@ -315,8 +315,6 @@ FS_Close_PAK
*/
static void FS_Close_PAK( searchpath_t *search )
{
if( search->pack->files )
Mem_Free( search->pack->files );
if( search->pack->handle >= 0 )
close( search->pack->handle );
Mem_Free( search->pack );

Loading…
Cancel
Save