diff options
author | David Tardon <dtardon@redhat.com> | 2011-05-16 13:58:49 +0200 |
---|---|---|
committer | David Tardon <dtardon@redhat.com> | 2011-05-16 15:39:29 +0200 |
commit | cde8ea43fa8cf82a182df50d8eda3413bcf30e2b (patch) | |
tree | 61ffab005f8a8dfa4a533cc90ba2948f03b4221e /editeng | |
parent | do not leak memory (diff) | |
download | core-cde8ea43fa8cf82a182df50d8eda3413bcf30e2b.tar.gz core-cde8ea43fa8cf82a182df50d8eda3413bcf30e2b.zip |
do not leak memory
Diffstat (limited to 'editeng')
-rw-r--r-- | editeng/source/items/frmitems.cxx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/editeng/source/items/frmitems.cxx b/editeng/source/items/frmitems.cxx index 01eb686ced18..dba7877edd24 100644 --- a/editeng/source/items/frmitems.cxx +++ b/editeng/source/items/frmitems.cxx @@ -2312,6 +2312,7 @@ void SvxBoxItem::SetLine( const SvxBorderLine* pNew, sal_uInt16 nLine ) pRight = pTmp; break; default: + delete pTmp; OSL_FAIL( "wrong line" ); } } |