summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Brasser <michael.brasser@nokia.com>2009-08-26 04:53:01 (GMT)
committerMichael Brasser <michael.brasser@nokia.com>2009-08-26 04:53:01 (GMT)
commit2ca0948d19c88df52b07c14b270c22dc623edcbe (patch)
treeb9ff88fc6cf22a54680b7074cf44391da9f5aa45
parentcf58dcd5c5389e559316f99db825f786dbcc8ebe (diff)
downloadQt-2ca0948d19c88df52b07c14b270c22dc623edcbe.zip
Qt-2ca0948d19c88df52b07c14b270c22dc623edcbe.tar.gz
Qt-2ca0948d19c88df52b07c14b270c22dc623edcbe.tar.bz2
Delete anchors when item is deleted.
-rw-r--r--src/declarative/fx/qfxitem.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/declarative/fx/qfxitem.cpp b/src/declarative/fx/qfxitem.cpp
index 7938dc9..666369a 100644
--- a/src/declarative/fx/qfxitem.cpp
+++ b/src/declarative/fx/qfxitem.cpp
@@ -1170,6 +1170,7 @@ QFxItem::~QFxItem()
anchor->d_func()->updateOnComplete();
}
delete d->_anchorLines; d->_anchorLines = 0;
+ delete d->_anchors; d->_anchors = 0;
}
/*!