Fix potential mem leak

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=831364
This commit is contained in:
Laurent Montel 2008-07-12 14:32:54 +00:00
parent 008dacd0db
commit 4d8374080d

View File

@ -17,10 +17,9 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*/
class KTemporaryFile;
#include "servicejob.h"
#include <KTemporaryFile>
namespace Plasma
{
@ -65,6 +64,10 @@ public:
tempFile(0)
{
}
~ServicePrivate()
{
delete tempFile;
}
Service *q;
QString destination;