[Libreoffice-commits] core.git: svx/source

Michael Meeks michael.meeks at collabora.com
Tue Aug 25 06:33:56 PDT 2015


 svx/source/dialog/graphctl.cxx |    5 +++++
 1 file changed, 5 insertions(+)

New commits:
commit 2f31a4c1e8c2bbe9e3e4dba6e24ce4d206831e3b
Author: Michael Meeks <michael.meeks at collabora.com>
Date:   Tue Aug 25 14:41:50 2015 +0100

    tdf#92213 - avoid potential crasher from unusual idle handler.
    
    Change-Id: Id5715f8753d17b3955ac87b9260318ac56e64a08

diff --git a/svx/source/dialog/graphctl.cxx b/svx/source/dialog/graphctl.cxx
index d5855042..81a1096 100644
--- a/svx/source/dialog/graphctl.cxx
+++ b/svx/source/dialog/graphctl.cxx
@@ -90,14 +90,19 @@ GraphCtrl::~GraphCtrl()
 
 void GraphCtrl::dispose()
 {
+    aUpdateIdle.Stop();
+
     if( mpAccContext )
     {
         mpAccContext->disposing();
         mpAccContext->release();
     }
     delete pView;
+    pView = NULL;
     delete pModel;
+    pModel = NULL;
     delete pUserCall;
+    pUserCall = NULL;
     Control::dispose();
 }
 


More information about the Libreoffice-commits mailing list