summaryrefslogtreecommitdiff
path: root/svx
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2014-05-16 20:50:24 +0100
committerKohei Yoshida <libreoffice@kohei.us>2014-05-17 03:12:43 +0000
commit68ee7e9c423ba8ca01862435753105c7c28aa62e (patch)
treeae392a16d8cb82051f78cc2718763cde50c92fc8 /svx
parent456d5d928ebfd333b3169d69806d50303cebb6bf (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.cxx1
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();