sfx2/source/sidebar/ControllerItem.cxx | 1 + 1 file changed, 1 insertion(+)
New commits: commit de7018f755af0b2372c0e261f53d57de6cf77c38 Author: Stephan Bergmann <sberg...@redhat.com> Date: Tue Dec 8 11:47:52 2015 +0100 Missing delete Change-Id: I8ba75fcd2f98a49fe9d620af6b248f32911d7fe8 diff --git a/sfx2/source/sidebar/ControllerItem.cxx b/sfx2/source/sidebar/ControllerItem.cxx index 5ee79cc..ed4fa3b 100644 --- a/sfx2/source/sidebar/ControllerItem.cxx +++ b/sfx2/source/sidebar/ControllerItem.cxx @@ -167,6 +167,7 @@ void ControllerItem::RequestUpdate() SfxPoolItem* pState = nullptr; const SfxItemState eState (GetBindings().QueryState(GetId(), pState)); mrItemUpdateReceiver.NotifyItemUpdate(GetId(), eState, pState, IsEnabled(eState)); + delete pState; } void ControllerItem::NotifyFrameContextChange() _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits