Fix potential mem leak
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=831364
This commit is contained in:
parent
008dacd0db
commit
4d8374080d
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user