From 2ca0948d19c88df52b07c14b270c22dc623edcbe Mon Sep 17 00:00:00 2001 From: Michael Brasser Date: Wed, 26 Aug 2009 14:53:01 +1000 Subject: Delete anchors when item is deleted. --- src/declarative/fx/qfxitem.cpp | 1 + 1 file changed, 1 insertion(+) 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; } /*! -- cgit v0.12