diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-12-08 11:47:52 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-12-08 12:27:35 +0100 |
commit | 5bccf4d9bc642f3266e37a310844da76ebbd4626 (patch) | |
tree | 5c726b914f46bcd2c339e93c049e6337243956bc /sfx2 | |
parent | 858613fb2fb554c57081f54aea6a0e2782b79aaa (diff) |
Missing delete
Change-Id: I8ba75fcd2f98a49fe9d620af6b248f32911d7fe8
(cherry picked from commit de7018f755af0b2372c0e261f53d57de6cf77c38)
Diffstat (limited to 'sfx2')
-rw-r--r-- | sfx2/source/sidebar/ControllerItem.cxx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sfx2/source/sidebar/ControllerItem.cxx b/sfx2/source/sidebar/ControllerItem.cxx index 5ee79cc30062..ed4fa3b1f365 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() |