From 61bb38682682ca0f040c0c4c73ad70b046016b9e Mon Sep 17 00:00:00 2001 From: TTimo Date: Sat, 21 Apr 2018 14:01:04 -0500 Subject: [PATCH] minor tweak --- tools/quake3/common/vfs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/quake3/common/vfs.c b/tools/quake3/common/vfs.c index be6c1b44..1d949053 100644 --- a/tools/quake3/common/vfs.c +++ b/tools/quake3/common/vfs.c @@ -271,8 +271,8 @@ void vfsInitDirectory( const char *path ){ vfsInitPakFile(filename); } - g_free(name); dirlist = g_slist_remove(cur, name); + g_free(name); } g_dir_close( dir ); }