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.
|
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
class KTemporaryFile;
|
|
||||||
|
|
||||||
#include "servicejob.h"
|
#include "servicejob.h"
|
||||||
|
#include <KTemporaryFile>
|
||||||
namespace Plasma
|
namespace Plasma
|
||||||
{
|
{
|
||||||
|
|
||||||
@ -65,6 +64,10 @@ public:
|
|||||||
tempFile(0)
|
tempFile(0)
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
~ServicePrivate()
|
||||||
|
{
|
||||||
|
delete tempFile;
|
||||||
|
}
|
||||||
|
|
||||||
Service *q;
|
Service *q;
|
||||||
QString destination;
|
QString destination;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user