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:
parent
67dbb218a2
commit
a619897862
1
main.c
1
main.c
@ -771,7 +771,6 @@ int main(int argc,char * argv[])
|
|||||||
{
|
{
|
||||||
if (Config.Opening_message && (!File_in_command_line))
|
if (Config.Opening_message && (!File_in_command_line))
|
||||||
Button_Message_initial();
|
Button_Message_initial();
|
||||||
free(Gfx->Logo_grafx2); // Not yet used in the About screen
|
|
||||||
|
|
||||||
if (File_in_command_line)
|
if (File_in_command_line)
|
||||||
{
|
{
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user