From a61989786203a475dd366459661e2b1a05494d6e Mon Sep 17 00:00:00 2001 From: Adrien Destugues Date: Sun, 28 Jun 2009 19:18:30 +0000 Subject: [PATCH] Don't free the GrafX2 logo when exiting the splash screen, it's now part of a struct and we free the struct at exit. This made the linux version crash. If you find it's memory waste, then make the logo a pointer instead of an array of bytes in the struct. git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@887 416bcca6-2ee7-4201-b75f-2eb2f807beb1 --- main.c | 1 - 1 file changed, 1 deletion(-) diff --git a/main.c b/main.c index 964b9673..ff8b3d06 100644 --- a/main.c +++ b/main.c @@ -771,7 +771,6 @@ int main(int argc,char * argv[]) { if (Config.Opening_message && (!File_in_command_line)) Button_Message_initial(); - free(Gfx->Logo_grafx2); // Not yet used in the About screen if (File_in_command_line) {