minor tweak

This commit is contained in:
TTimo 2018-04-21 14:01:04 -05:00
parent 1219ad4115
commit 61bb386826
1 changed files with 1 additions and 1 deletions

View File

@ -271,8 +271,8 @@ void vfsInitDirectory( const char *path ){
vfsInitPakFile(filename); vfsInitPakFile(filename);
} }
g_free(name);
dirlist = g_slist_remove(cur, name); dirlist = g_slist_remove(cur, name);
g_free(name);
} }
g_dir_close( dir ); g_dir_close( dir );
} }