diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-12-08 11:47:52 +0100 |
---|---|---|
committer | Andras Timar <andras.timar@collabora.com> | 2015-12-10 16:11:58 +0100 |
commit | 182b1d788b8219452a30bcdf23d2de67c7d873a3 (patch) | |
tree | 1a1ed3a70384259bfea76e34243a2b58e8c760a5 /sfx2 | |
parent | 5020f7691d08471580b60937ea063f10b260379a (diff) |
Missing delete
Change-Id: I8ba75fcd2f98a49fe9d620af6b248f32911d7fe8
(cherry picked from commit de7018f755af0b2372c0e261f53d57de6cf77c38)
Reviewed-on: https://gerrit.libreoffice.org/20464
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
(cherry picked from commit 2ecbb6a54b08a20639de560e5fd77d9a487f74e3)
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 22dd244e52e0..87d5039643a3 100644 --- a/sfx2/source/sidebar/ControllerItem.cxx +++ b/sfx2/source/sidebar/ControllerItem.cxx @@ -166,6 +166,7 @@ void ControllerItem::RequestUpdate() SfxPoolItem* pState = NULL; const SfxItemState eState (GetBindings().QueryState(GetId(), pState)); mrItemUpdateReceiver.NotifyItemUpdate(GetId(), eState, pState, IsEnabled(eState)); + delete pState; } void ControllerItem::NotifyFrameContextChange() |