From 4353229999846949d09652b14c055b9b91529d08 Mon Sep 17 00:00:00 2001 From: stv Date: Tue, 29 Apr 2008 14:41:05 +0000 Subject: [PATCH] *** empty log message *** --- src/Qtx/QtxActionMenuMgr.cxx | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/Qtx/QtxActionMenuMgr.cxx b/src/Qtx/QtxActionMenuMgr.cxx index da5bb675e..9a1af4136 100644 --- a/src/Qtx/QtxActionMenuMgr.cxx +++ b/src/Qtx/QtxActionMenuMgr.cxx @@ -139,8 +139,9 @@ QtxActionMenuMgr::~QtxActionMenuMgr() { for ( MenuMap::Iterator itr = myMenus.begin(); itr != myMenus.end(); ++itr ) { - delete itr.value()->menu(); - delete itr.value(); + QPointer a = itr.value(); + delete a->menu(); + delete a; } delete myRoot; -- 2.39.2