summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorOlivier Goffart <ogoffart@trolltech.com>2009-08-25 14:19:28 +0200
committerOlivier Goffart <ogoffart@trolltech.com>2009-08-25 14:28:21 +0200
commit4580f41b44faee6f66f781d252107bb07d537273 (patch)
tree93f6ccd4458579f61038f90e77f7875d45b89a2f /src
parent7b6aa6a27096543cbc6bd23253b949de49c37023 (diff)
Fix memory leak in QLineEdit
We must not forget to delete the control Reviewed-by: Paul
Diffstat (limited to 'src')
-rw-r--r--src/gui/widgets/qlineedit_p.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gui/widgets/qlineedit_p.h b/src/gui/widgets/qlineedit_p.h
index 3ab10fc89..3521dcb85 100644
--- a/src/gui/widgets/qlineedit_p.h
+++ b/src/gui/widgets/qlineedit_p.h
@@ -84,6 +84,7 @@ public:
~QLineEditPrivate()
{
+ delete control;
}
QLineControl *control;