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:
parent
16b1b1e695
commit
4fa56d7fc2
1 changed files with 2 additions and 0 deletions
|
@ -62,6 +62,8 @@ PlastikButton::PlastikButton(ButtonType type, PlastikClient *parent)
|
|||
|
||||
PlastikButton::~PlastikButton()
|
||||
{
|
||||
animTmr->stop();
|
||||
delete animTmr;
|
||||
}
|
||||
|
||||
void PlastikButton::reset(unsigned long changed)
|
||||
|
|
Loading…
Reference in a new issue