diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-05-16 20:50:24 +0100 |
---|---|---|
committer | Andras Timar <andras.timar@collabora.com> | 2014-05-18 22:15:11 +0200 |
commit | 8004bc6d3522b26b8746cc12f5c18e7324a05766 (patch) | |
tree | d9d9bde39da064ce87ceee7a003e65f638825d9b /svx | |
parent | 6bfd9bc8fc1d01d0d2758e814810361f2b68d8c4 (diff) |
strangely obvious leaky code
Change-Id: I968cbb784d53e0cff0649061c58f752939226a09
(cherry picked from commit 5b2f1b46b129c41890c54513c6d386407db6718a)
Reviewed-on: https://gerrit.libreoffice.org/9385
Reviewed-by: Kohei Yoshida <libreoffice@kohei.us>
Tested-by: Kohei Yoshida <libreoffice@kohei.us>
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 cea89d0e6248..10472bc92ef7 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(); |