diff options
Diffstat (limited to 'tests/auto/declarative/qdeclarativesmoothedanimation/tst_qdeclarativesmoothedanimation.cpp')
-rw-r--r-- | tests/auto/declarative/qdeclarativesmoothedanimation/tst_qdeclarativesmoothedanimation.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/auto/declarative/qdeclarativesmoothedanimation/tst_qdeclarativesmoothedanimation.cpp b/tests/auto/declarative/qdeclarativesmoothedanimation/tst_qdeclarativesmoothedanimation.cpp index 5b225892c5..d5f2396c6e 100644 --- a/tests/auto/declarative/qdeclarativesmoothedanimation/tst_qdeclarativesmoothedanimation.cpp +++ b/tests/auto/declarative/qdeclarativesmoothedanimation/tst_qdeclarativesmoothedanimation.cpp @@ -177,6 +177,8 @@ void tst_qdeclarativesmoothedanimation::valueSource() QTRY_COMPARE(theRect->x(), qreal(200)); QTRY_COMPARE(theRect->y(), qreal(200)); + + delete rect; } void tst_qdeclarativesmoothedanimation::behavior() @@ -205,6 +207,8 @@ void tst_qdeclarativesmoothedanimation::behavior() QTRY_COMPARE(theRect->x(), qreal(200)); QTRY_COMPARE(theRect->y(), qreal(200)); + + delete rect; } QTEST_MAIN(tst_qdeclarativesmoothedanimation) |