diff options
Diffstat (limited to 'qtools/qthread.cpp')
-rw-r--r-- | qtools/qthread.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/qtools/qthread.cpp b/qtools/qthread.cpp index db2a0de..02c99f2 100644 --- a/qtools/qthread.cpp +++ b/qtools/qthread.cpp @@ -52,6 +52,7 @@ QThread::~QThread() QMutexLocker locker(&d->mutex); if (d->running && !d->finished) qWarning("QThread: Destroyed while thread is still running"); + delete d; } bool QThread::isFinished() const |