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
This commit is contained in:
Adrien Destugues 2009-06-28 19:18:30 +00:00
parent 67dbb218a2
commit a619897862

1
main.c
View File

@ -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)
{