From fd4ca5523a0e92c1531faacc3c38b936c1af31f9 Mon Sep 17 00:00:00 2001 From: Bjoern Michaelsen Date: Wed, 13 Apr 2016 00:07:56 +0200 Subject: lp#1569589: a more honest attempt at disposing SvtFileView_Impl MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 Tested-by: Björn Michaelsen --- svtools/source/contnr/fileview.cxx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/svtools/source/contnr/fileview.cxx b/svtools/source/contnr/fileview.cxx index 8f0a58cbab48..666c2a0044c4 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(); } -- cgit