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 files.
svn path=/trunk/KDE/kdelibs/; revision=912076
This commit is contained in:
parent
512bcd03a9
commit
f5c70115db
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user