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:
parent
2727196130
commit
3e1acc8e02
@ -29,6 +29,8 @@
|
|||||||
|
|
||||||
#include <ktemporaryfile.h>
|
#include <ktemporaryfile.h>
|
||||||
|
|
||||||
|
#include "plasma/configloader.h"
|
||||||
|
|
||||||
namespace Plasma
|
namespace Plasma
|
||||||
{
|
{
|
||||||
|
|
||||||
@ -74,8 +76,10 @@ public:
|
|||||||
tempFile(0)
|
tempFile(0)
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
~ServicePrivate()
|
~ServicePrivate()
|
||||||
{
|
{
|
||||||
|
delete config;
|
||||||
delete tempFile;
|
delete tempFile;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user