From 3e1acc8e02a834f678a17356d67791a69fcd2ab4 Mon Sep 17 00:00:00 2001 From: "Aaron J. Seigo" Date: Fri, 16 Jan 2009 17:21:48 +0000 Subject: [PATCH] delete the config file first before the temp file so that it doesn't write itself out after the tempfile has been removed, avoiding spawning endless temp fil es. CCBBUG:180966 svn path=/branches/KDE/4.2/kdelibs/; revision=912083 --- private/service_p.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/private/service_p.h b/private/service_p.h index f82f4eb16..c345f2ac7 100644 --- a/private/service_p.h +++ b/private/service_p.h @@ -29,6 +29,8 @@ #include +#include "plasma/configloader.h" + namespace Plasma { @@ -74,8 +76,10 @@ public: tempFile(0) { } + ~ServicePrivate() { + delete config; delete tempFile; }