From 549c3ce5988977245de6b0fbd3b2fb27804018cd Mon Sep 17 00:00:00 2001 From: Felix Geyer Date: Thu, 12 Jul 2012 21:30:37 +0200 Subject: [PATCH] Fix memory leak in QSaveFile. --- src/core/qsavefile.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/core/qsavefile.cpp b/src/core/qsavefile.cpp index 14b01398f..26ba1cb26 100644 --- a/src/core/qsavefile.cpp +++ b/src/core/qsavefile.cpp @@ -132,6 +132,7 @@ QSaveFile::~QSaveFile() delete d->tempFile; } QIODevice::close(); + delete d; } /*!