From baf10fc86811a07290600247e8e1986d40ca8324 Mon Sep 17 00:00:00 2001 From: hjk <qtc-committer@nokia.com> Date: Tue, 14 Sep 2010 18:14:30 +0200 Subject: [PATCH] debugger: fix (non-)leak Task-number: QTCREATORBUG-2337 --- src/plugins/debugger/debuggerplugin.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/plugins/debugger/debuggerplugin.cpp b/src/plugins/debugger/debuggerplugin.cpp index 137275303bd..8aef662beeb 100644 --- a/src/plugins/debugger/debuggerplugin.cpp +++ b/src/plugins/debugger/debuggerplugin.cpp @@ -2542,6 +2542,9 @@ DebuggerPlugin::~DebuggerPlugin() delete d->m_commandWindow; d->m_commandWindow = 0; + delete d->m_snapshotHandler; + d->m_snapshotHandler = 0; + delete d; } -- GitLab