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; }