diff -r 41300fa6a67c -r 3b1da2848fc7 tests/auto/qfiledialog/tst_qfiledialog.cpp --- a/tests/auto/qfiledialog/tst_qfiledialog.cpp Tue Feb 02 00:43:10 2010 +0200 +++ b/tests/auto/qfiledialog/tst_qfiledialog.cpp Fri Feb 19 23:40:16 2010 +0200 @@ -1,6 +1,6 @@ /**************************************************************************** ** -** Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies). +** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies). ** All rights reserved. ** Contact: Nokia Corporation (qt-info@nokia.com) ** @@ -949,6 +949,7 @@ QLineEdit *lineEdit = qFindChild(dialog, "fileNameEdit"); QVERIFY(lineEdit); QCOMPARE(lineEdit->text(),QLatin1String("blah")); + delete dialog; } void tst_QFiledialog::viewMode()