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:
Adrien Destugues 2014-10-13 17:20:50 +02:00
parent a3cdc7c588
commit 2baa894c76

View File

@ -119,6 +119,7 @@ void
IconsSaver::StopSaver()
{
delete[] fIcons;
fIcons = NULL;
}