From a5c83a32fd03412beade61fd635cfa990eca4c38 Mon Sep 17 00:00:00 2001 From: dborth Date: Mon, 28 Jun 2010 20:49:24 +0000 Subject: [PATCH] add missing malloc --- source/vbagx.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/source/vbagx.cpp b/source/vbagx.cpp index 8d04149..a878c04 100644 --- a/source/vbagx.cpp +++ b/source/vbagx.cpp @@ -332,6 +332,7 @@ int main(int argc, char *argv[]) // Initialize font system InitFreeType((u8*)font_ttf, font_ttf_size); gameScreenPng = (u8 *)malloc(512*1024); + browserList = (BROWSERENTRY *)malloc(sizeof(BROWSERENTRY)*MAX_BROWSER_SIZE); InitGUIThreads(); // store path app was loaded from