summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-10-17 17:14:30 -0500
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-10-17 17:14:30 -0500
commit9229bed187aca4df348498d9da38c4151cb5f797 (patch)
tree36726a0408aa3a590bb96f3a69c2bd35b6a9d127 /src
parentd268efee9d9f44f89b28ad29f2d9d9e2618a1418 (diff)
downloadqt3-9229bed187aca4df348498d9da38c4151cb5f797.tar.gz
qt3-9229bed187aca4df348498d9da38c4151cb5f797.zip
Fix memory leak on widget destruction after certain style method accesses
This resolves Bug 1674
Diffstat (limited to 'src')
-rw-r--r--src/kernel/qwidget.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/kernel/qwidget.cpp b/src/kernel/qwidget.cpp
index 5ad69a0..2b36de6 100644
--- a/src/kernel/qwidget.cpp
+++ b/src/kernel/qwidget.cpp
@@ -1209,6 +1209,7 @@ void QWidget::createExtra()
void QWidget::deleteExtra()
{
if ( extra ) { // if exists
+ delete extra->m_ceData;
delete extra->bg_pix;
#ifndef QT_NO_CURSOR
delete extra->curs;