diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-05-16 20:50:24 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-05-16 21:05:02 +0100 |
commit | 5b2f1b46b129c41890c54513c6d386407db6718a (patch) | |
tree | 01f32fca6051d65c7be4c92138a264b19e9ac946 /svx | |
parent | fdca15fb864aca975533257d5ee83440992d8a7e (diff) |
strangely obvious leaky code
Change-Id: I968cbb784d53e0cff0649061c58f752939226a09
Diffstat (limited to 'svx')
-rw-r--r-- | svx/source/sdr/properties/itemsettools.cxx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/svx/source/sdr/properties/itemsettools.cxx b/svx/source/sdr/properties/itemsettools.cxx index ce937b324a9e..2879b487313a 100644 --- a/svx/source/sdr/properties/itemsettools.cxx +++ b/svx/source/sdr/properties/itemsettools.cxx @@ -120,6 +120,7 @@ namespace sdr SfxPoolItem* pNewItem = pItem->Clone(); pNewItem->ScaleMetrics(nMul, nDiv); rSet.Put(*pNewItem); + delete pNewItem; } } nWhich = aIter.NextWhich(); |