From 9229bed187aca4df348498d9da38c4151cb5f797 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Thu, 17 Oct 2013 17:14:30 -0500 Subject: Fix memory leak on widget destruction after certain style method accesses This resolves Bug 1674 --- src/kernel/qwidget.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src') 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; -- cgit v1.2.1