[Libreoffice-commits] core.git: vcl/unx
Matthew J. Francis
mjay.francis at gmail.com
Fri Sep 19 01:09:38 PDT 2014
vcl/unx/gtk/window/gtksalframe.cxx | 3 +++
1 file changed, 3 insertions(+)
New commits:
commit e9d3907c39f092ac2db367a51d1322a2d5d12eae
Author: Matthew J. Francis <mjay.francis at gmail.com>
Date: Fri Sep 19 12:46:38 2014 +0800
Fix use of uninitialised value identified by valgrind
m_pLastSyncedDbusMenu was previously only initialised in one of
two constructors
Change-Id: Icd29d1ab314c54544b61ae60b57b29f1fa7d0e3d
Reviewed-on: https://gerrit.libreoffice.org/11530
Reviewed-by: Stephan Bergmann <sbergman at redhat.com>
Tested-by: Stephan Bergmann <sbergman at redhat.com>
diff --git a/vcl/unx/gtk/window/gtksalframe.cxx b/vcl/unx/gtk/window/gtksalframe.cxx
index 86dd03c..ad8e692 100644
--- a/vcl/unx/gtk/window/gtksalframe.cxx
+++ b/vcl/unx/gtk/window/gtksalframe.cxx
@@ -509,6 +509,9 @@ GtkSalFrame::GtkSalFrame( SalFrame* pParent, sal_uLong nStyle )
m_bDefaultPos = true;
m_bDefaultSize = ( (nStyle & SAL_FRAME_STYLE_SIZEABLE) && ! pParent );
m_bWindowIsGtkPlug = false;
+#if defined(ENABLE_DBUS) && defined(ENABLE_GIO)
+ m_pLastSyncedDbusMenu = NULL;
+#endif
Init( pParent, nStyle );
}
More information about the Libreoffice-commits
mailing list