sd/source/core/sdpage.cxx | 2 ++ 1 file changed, 2 insertions(+) New commits: commit 7627008b0671f16cf84a3f552e3316ab8d803ebb Author: Stephan Bergmann <sberg...@redhat.com> Date: Tue Aug 5 14:14:16 2014 +0200
Clear() an SdPage while it is still an SdPage ... because when Clear() is later called in the SdrObjList sub-object dtor, freed SdrObject dtors may call back via SdrObject::SendUserCall into this virtual SdPage::Changed, but then this is only an SdrObjList, causing undef behavior. Change-Id: I09a2d1445a51a70e8f795ff869027899ad0f528b diff --git a/sd/source/core/sdpage.cxx b/sd/source/core/sdpage.cxx index 8f8f6e6..9e368eb 100644 --- a/sd/source/core/sdpage.cxx +++ b/sd/source/core/sdpage.cxx @@ -147,6 +147,8 @@ SdPage::~SdPage() if( mpItems ) delete mpItems; + + Clear(); } struct OrdNumSorter _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits