summaryrefslogtreecommitdiff
path: root/sfx2
diff options
context:
space:
mode:
Diffstat (limited to 'sfx2')
-rw-r--r--sfx2/source/sidebar/ControllerItem.cxx1
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()