fix mem leak in plastik.

is the leaking QTimer related to the crash? (I'm unable to reproduce it myself)

CCBUG: 201404


svn path=/trunk/KDE/kdebase/workspace/; revision=1009552
This commit is contained in:
Sandro Giessl 2009-08-10 09:24:39 +00:00
parent 16b1b1e695
commit 4fa56d7fc2

View file

@ -62,6 +62,8 @@ PlastikButton::PlastikButton(ButtonType type, PlastikClient *parent)
PlastikButton::~PlastikButton()
{
animTmr->stop();
delete animTmr;
}
void PlastikButton::reset(unsigned long changed)