From ace152d883f90e39ab2d36f9cec6994f2b02e7f4 Mon Sep 17 00:00:00 2001 From: dborth Date: Mon, 28 Jun 2010 20:49:33 +0000 Subject: [PATCH] add missing malloc --- source/fceugx.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/source/fceugx.cpp b/source/fceugx.cpp index ceacb8d..2a7579d 100644 --- a/source/fceugx.cpp +++ b/source/fceugx.cpp @@ -344,6 +344,7 @@ int main(int argc, char *argv[]) InitialiseAudio(); InitFreeType((u8*)font_ttf, font_ttf_size); // Initialize font system gameScreenPng = (u8 *)malloc(512*1024); + browserList = (BROWSERENTRY *)malloc(sizeof(BROWSERENTRY)*MAX_BROWSER_SIZE); InitGUIThreads(); // allocate memory to store rom