vcl/unx/gtk3/gtk3gtkinst.cxx | 3 +++ 1 file changed, 3 insertions(+) New commits: commit 46bfb9da866c2e7bb37c7f5d8980f378c52f79f8 Author: Caolán McNamara <caol...@redhat.com> AuthorDate: Sun Jul 19 20:08:35 2020 +0100 Commit: Caolán McNamara <caol...@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 <caol...@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(); } }; _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits