[Libreoffice-commits] core.git: svtools/source
Bjoern Michaelsen
bjoern.michaelsen at canonical.com
Tue Apr 12 23:00:02 UTC 2016
svtools/source/contnr/fileview.cxx | 2 ++
1 file changed, 2 insertions(+)
New commits:
commit fd4ca5523a0e92c1531faacc3c38b936c1af31f9
Author: Bjoern Michaelsen <bjoern.michaelsen at canonical.com>
Date: Wed Apr 13 00:07:56 2016 +0200
lp#1569589: a more honest attempt at disposing SvtFileView_Impl
Dunno yet if that completely fixes the story -- the reference here are
quite messy: ownership isnt exactly obvious.
Change-Id: I54d71ac724590e85549bd152c963fdc8de46746e
Reviewed-on: https://gerrit.libreoffice.org/24040
Reviewed-by: Björn Michaelsen <bjoern.michaelsen at canonical.com>
Tested-by: Björn Michaelsen <bjoern.michaelsen at canonical.com>
diff --git a/svtools/source/contnr/fileview.cxx b/svtools/source/contnr/fileview.cxx
index 8f0a58c..666c2a0 100644
--- a/svtools/source/contnr/fileview.cxx
+++ b/svtools/source/contnr/fileview.cxx
@@ -1490,7 +1490,9 @@ SvtFileView_Impl::~SvtFileView_Impl()
{
Clear();
mpView.disposeAndClear();
+ mpCurView.clear();
mpIconView.disposeAndClear();
+ mpAntiImpl.clear();
}
More information about the Libreoffice-commits
mailing list