From b0019bbc64ca3a721c7d0e574112e2d7bd0a6e09 Mon Sep 17 00:00:00 2001
From: dt <qtc-committer@nokia.com>
Date: Wed, 4 Nov 2009 19:26:35 +0100
Subject: [PATCH] Revert "revert the latest leak "fix"."

That fix was correct.
This reverts commit 239e0418caeb7f97c217a7867f45970e07366401.
---
 src/plugins/debugger/stackwindow.cpp | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/src/plugins/debugger/stackwindow.cpp b/src/plugins/debugger/stackwindow.cpp
index f92a6993fd3..afc5d257294 100644
--- a/src/plugins/debugger/stackwindow.cpp
+++ b/src/plugins/debugger/stackwindow.cpp
@@ -75,8 +75,7 @@ StackWindow::StackWindow(DebuggerManager *manager, QWidget *parent)
 
 StackWindow::~StackWindow()
 {
-    // FIXME: leak
-    //delete m_disassemblerAgent;
+    delete m_disassemblerAgent;
 }
 
 void StackWindow::showAddressColumn(bool on)
-- 
GitLab