mirror of
https://github.com/TTimo/GtkRadiant.git
synced 2025-01-26 11:21:08 +00:00
Merge pull request #501 from Mateos81/TexDirWinRunTimeFix
Fixes the Windows run time exceptions upon start up
This commit is contained in:
commit
5940b1adbc
1 changed files with 2 additions and 2 deletions
|
@ -535,7 +535,7 @@ void ClearGSList( GSList* lst ){
|
||||||
GSList *p = lst;
|
GSList *p = lst;
|
||||||
while ( p )
|
while ( p )
|
||||||
{
|
{
|
||||||
free( p->data );
|
g_free( p->data );
|
||||||
p = g_slist_remove( p, p->data );
|
p = g_slist_remove( p, p->data );
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -594,7 +594,7 @@ void FillTextureList( GSList** pArray )
|
||||||
texdirs = g_slist_prepend( texdirs, g_strdup( shaderfile ) );
|
texdirs = g_slist_prepend( texdirs, g_strdup( shaderfile ) );
|
||||||
}
|
}
|
||||||
|
|
||||||
g_free( l_shaderfiles->data );
|
free( l_shaderfiles->data );
|
||||||
l_shaderfiles = g_slist_remove( l_shaderfiles, l_shaderfiles->data );
|
l_shaderfiles = g_slist_remove( l_shaderfiles, l_shaderfiles->data );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue