summaryrefslogtreecommitdiffstats
path: root/src/gui/widgets/qlineedit_p.h
diff options
context:
space:
mode:
authorOlivier Goffart <ogoffart@trolltech.com>2009-08-25 12:19:28 (GMT)
committerOlivier Goffart <ogoffart@trolltech.com>2009-08-25 12:28:21 (GMT)
commit4580f41b44faee6f66f781d252107bb07d537273 (patch)
tree93f6ccd4458579f61038f90e77f7875d45b89a2f /src/gui/widgets/qlineedit_p.h
parent7b6aa6a27096543cbc6bd23253b949de49c37023 (diff)
downloadQt-4580f41b44faee6f66f781d252107bb07d537273.zip
Qt-4580f41b44faee6f66f781d252107bb07d537273.tar.gz
Qt-4580f41b44faee6f66f781d252107bb07d537273.tar.bz2
Fix memory leak in QLineEdit
We must not forget to delete the control Reviewed-by: Paul
Diffstat (limited to 'src/gui/widgets/qlineedit_p.h')
-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 3ab10fc..3521dcb 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;