diff options
author | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2013-09-05 15:30:52 +0200 |
---|---|---|
committer | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2013-09-05 15:41:51 +0200 |
commit | 33f400da4a78cbbc40fe20beedad5a7ca756cfbe (patch) | |
tree | 4b6ee67c57cdc2b79f88a260fcea32e5ba57a28b /sw/source/ui | |
parent | a8986c2c6537116ae834fcbee12b1f1a0a418590 (diff) |
CID#705762: fix memory leak
Change-Id: I0602b158bb259e27915a46485cdeac471ba6cdf2
Diffstat (limited to 'sw/source/ui')
-rw-r--r-- | sw/source/ui/envelp/label1.cxx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sw/source/ui/envelp/label1.cxx b/sw/source/ui/envelp/label1.cxx index ef4f774f35a8..41ec2904cf4e 100644 --- a/sw/source/ui/envelp/label1.cxx +++ b/sw/source/ui/envelp/label1.cxx @@ -153,6 +153,8 @@ SwLabDlg::SwLabDlg(Window* pParent, const SfxItemSet& rSet, if (!bDouble) pRecs->insert( pRecs->begin(), pRec ); + else + delete pRec; sal_uInt16 nLstGroup = 0; const std::vector<OUString>& rMan = aLabelsCfg.GetManufacturers(); |