[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: koffice/lib/kofficeui
From: Rob Buis <buis () kde ! org>
Date: 2005-12-23 20:52:11
Message-ID: 1135371131.692619.32697.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 490951 by buis:
Two memleak fixes.
M +2 -0 kotoolbox.cc
--- trunk/koffice/lib/kofficeui/kotoolbox.cc #490950:490951
@@ -54,6 +54,7 @@
m_buttonGroup->setExclusive( true );
connect( m_buttonGroup, SIGNAL( pressed( int ) ), this, SLOT( slotButtonPressed( int ) ) );
+ m_tools.setAutoDelete( true );
// Create separate lists for the various sorts of tools
for (int i = 0; i < numberOfTooltypes ; ++i) {
ToolList * tl = new ToolList();
@@ -63,6 +64,7 @@
KoToolBox::~KoToolBox()
{
+ delete m_buttonGroup;
}
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic