memory leak fix : free the main page on exit
This commit is contained in:
parent
5acf27c1b4
commit
37eac890c2
@ -1016,7 +1016,7 @@ void Program_shutdown(void)
|
|||||||
// On libère les différents écrans virtuels et brosse:
|
// On libère les différents écrans virtuels et brosse:
|
||||||
free(Brush);
|
free(Brush);
|
||||||
Brush = NULL;
|
Brush = NULL;
|
||||||
Set_number_of_backups(0);
|
Set_number_of_backups(-1); // even delete the main page
|
||||||
|
|
||||||
// Free the skin (Gui graphics) data
|
// Free the skin (Gui graphics) data
|
||||||
free(Gfx);
|
free(Gfx);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user