Fix a crash when using quotes due to wgettext thread safety issues.

This commit is contained in:
ridiculousfish
2012-02-17 15:55:54 -08:00
parent 51da4856e2
commit 8f1423946f
8 changed files with 52 additions and 42 deletions

View File

@@ -382,17 +382,6 @@ void env_universal_common_init( void (*cb)(int type, const wchar_t *key, const w
callback = cb;
}
/**
Free both key and data
*/
static void erase( void *key,
void *data )
{
free( (void *)key );
// free( (void *)data );//data is allocated through new
delete data;
}
void env_universal_common_destroy()
{