From 78434299e6a7f6d4cac8816d664dee6b6a1543c9 Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Thu, 23 Jun 2016 09:41:40 +0100 Subject: VclPtr: svtools error message dialog doesn't dispose Change-Id: I83640cc60d5e0239d228c749c32f896df5e2d9f2 (cherry picked from commit d531743ca34232aedc0b437a9ff5807dea8d51ed) Reviewed-on: https://gerrit.libreoffice.org/26588 Tested-by: Jenkins Reviewed-by: David Tardon (cherry picked from commit 401dfdc7f25cb112face662c3fa8aff7ec9c6ef1) --- svtools/source/misc/ehdl.cxx | 1 + 1 file changed, 1 insertion(+) diff --git a/svtools/source/misc/ehdl.cxx b/svtools/source/misc/ehdl.cxx index c7248717dbbd..876e992d6fd7 100644 --- a/svtools/source/misc/ehdl.cxx +++ b/svtools/source/misc/ehdl.cxx @@ -137,6 +137,7 @@ static sal_uInt16 aWndFunc( SAL_WARN( "svtools.misc", "Unknown MessBox return value" ); break; } + pBox.disposeAndClear(); return nRet; } -- cgit