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
This commit is contained in:
Aaron J. Seigo 2009-01-16 17:21:48 +00:00
parent 2727196130
commit 3e1acc8e02

View File

@ -29,6 +29,8 @@
#include <ktemporaryfile.h>
#include "plasma/configloader.h"
namespace Plasma
{
@ -74,8 +76,10 @@ public:
tempFile(0)
{
}
~ServicePrivate()
{
delete config;
delete tempFile;
}