[Libreoffice-commits] core.git: vcl/unx

Caolán McNamara (via logerrit) logerrit at kemper.freedesktop.org
Sun Jul 19 20:18:28 UTC 2020


 vcl/unx/gtk3/gtk3gtkinst.cxx |    3 +++
 1 file changed, 3 insertions(+)

New commits:
commit 46bfb9da866c2e7bb37c7f5d8980f378c52f79f8
Author:     Caolán McNamara <caolanm at redhat.com>
AuthorDate: Sun Jul 19 20:08:35 2020 +0100
Commit:     Caolán McNamara <caolanm at redhat.com>
CommitDate: Sun Jul 19 22:17:50 2020 +0200

    reset m_pFormatter in dtor
    
    Change-Id: I86ab9039544b9aefee31541da1a05ffd56a06609
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/99010
    Tested-by: Jenkins
    Reviewed-by: Caolán McNamara <caolanm at redhat.com>

diff --git a/vcl/unx/gtk3/gtk3gtkinst.cxx b/vcl/unx/gtk3/gtk3gtkinst.cxx
index 3b37ab24499a..7cf389b846b7 100644
--- a/vcl/unx/gtk3/gtk3gtkinst.cxx
+++ b/vcl/unx/gtk3/gtk3gtkinst.cxx
@@ -12363,6 +12363,9 @@ public:
         g_signal_handler_disconnect(m_pButton, m_nInputSignalId);
         g_signal_handler_disconnect(m_pButton, m_nOutputSignalId);
         g_signal_handler_disconnect(m_pButton, m_nValueChangedSignalId);
+
+        m_pFormatter = nullptr;
+        m_xOwnFormatter.reset();
     }
 };
 


More information about the Libreoffice-commits mailing list