diff options
author | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2013-02-16 00:31:16 +0100 |
---|---|---|
committer | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2013-02-16 01:01:00 +0100 |
commit | 8063ede18d03560cec296fab4152be9b24ec8ff8 (patch) | |
tree | 92df70ad8425aad3577e18f9fdfdaa0eb0f1f155 /sc/source | |
parent | ad02b999d946469325b16232709dde96a3e9ebc8 (diff) |
coverity: fix memory leak
Change-Id: Ib92f1b80e6e597b233eed91b8ed96cdeec509c90
Diffstat (limited to 'sc/source')
-rw-r--r-- | sc/source/ui/view/cellsh3.cxx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sc/source/ui/view/cellsh3.cxx b/sc/source/ui/view/cellsh3.cxx index e916bda38783..353f46903d0a 100644 --- a/sc/source/ui/view/cellsh3.cxx +++ b/sc/source/ui/view/cellsh3.cxx @@ -749,6 +749,8 @@ void ScCellShell::Execute( SfxRequest& rReq ) SfxPoolItem* pItem = 0; if( rBindings.QueryState( nSlot, pItem ) >= SFX_ITEM_DEFAULT ) bMerge = !static_cast< SfxBoolItem* >( pItem )->GetValue(); + + delete pItem; } break; } |