add missing malloc

This commit is contained in:
dborth 2010-06-28 20:49:24 +00:00
parent de08b42f7d
commit a5c83a32fd

View File

@ -332,6 +332,7 @@ int main(int argc, char *argv[])
// Initialize font system // Initialize font system
InitFreeType((u8*)font_ttf, font_ttf_size); InitFreeType((u8*)font_ttf, font_ttf_size);
gameScreenPng = (u8 *)malloc(512*1024); gameScreenPng = (u8 *)malloc(512*1024);
browserList = (BROWSERENTRY *)malloc(sizeof(BROWSERENTRY)*MAX_BROWSER_SIZE);
InitGUIThreads(); InitGUIThreads();
// store path app was loaded from // store path app was loaded from