From 4fa56d7fc2cb3819d5a0c54986d0979b9ef86685 Mon Sep 17 00:00:00 2001 From: Sandro Giessl Date: Mon, 10 Aug 2009 09:24:39 +0000 Subject: [PATCH] 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 --- clients/plastik/plastikbutton.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/clients/plastik/plastikbutton.cpp b/clients/plastik/plastikbutton.cpp index f0e0166705..a419be8507 100644 --- a/clients/plastik/plastikbutton.cpp +++ b/clients/plastik/plastikbutton.cpp @@ -62,6 +62,8 @@ PlastikButton::PlastikButton(ButtonType type, PlastikClient *parent) PlastikButton::~PlastikButton() { + animTmr->stop(); + delete animTmr; } void PlastikButton::reset(unsigned long changed)