sfx2/source/dialog/tabdlg.cxx |    5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

New commits:
commit d0c80826ba22f5adb8e3d88c7ccabe9a3c6267a1
Author: Michael Stahl <mst...@redhat.com>
Date:   Wed Mar 27 13:29:10 2013 +0100

    sfx2: TabDlg_Impl::pData is deleted twice
    
    (regression from eb69f807c4709a908222cb57b45a8733be663c56)
    
    Change-Id: I1752d60496a572152b571e871db818cf8c9264ed

diff --git a/sfx2/source/dialog/tabdlg.cxx b/sfx2/source/dialog/tabdlg.cxx
index 6e13217..41b16d6 100644
--- a/sfx2/source/dialog/tabdlg.cxx
+++ b/sfx2/source/dialog/tabdlg.cxx
@@ -177,7 +177,8 @@ struct TabDlg_Impl
     {}
     ~TabDlg_Impl()
     {
-        delete(pData);
+        delete pController;
+        delete pData;
     }
 };
 
@@ -534,8 +535,6 @@ SfxTabDialog::~SfxTabDialog()
         delete pDataObject;
     }
 
-    delete pImpl->pController;
-    delete pImpl->pData;
     delete pImpl;
     delete pOutSet;
     delete pExampleSet;
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to