memory leak fix : free the main page on exit

This commit is contained in:
Thomas Bernard 2018-03-01 23:45:37 +01:00
parent 5acf27c1b4
commit 37eac890c2

View File

@ -1016,7 +1016,7 @@ void Program_shutdown(void)
// On libère les différents écrans virtuels et brosse:
free(Brush);
Brush = NULL;
Set_number_of_backups(0);
Set_number_of_backups(-1); // even delete the main page
// Free the skin (Gui graphics) data
free(Gfx);