icons screensaver: double free when in RandomSaver
RandomSaver apparently calls StopSaver two times, and Icons was having a double free in that case. Fixes #10957.
This commit is contained in:
parent
a3cdc7c588
commit
2baa894c76
@ -119,6 +119,7 @@ void
|
||||
IconsSaver::StopSaver()
|
||||
{
|
||||
delete[] fIcons;
|
||||
fIcons = NULL;
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user