diff options
author | Caolán McNamara <caolanm@redhat.com> | 2015-09-29 10:20:30 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2015-09-29 11:10:32 +0100 |
commit | e2c8fbb535c5df91073fd5acbeccf51b2f3153c0 (patch) | |
tree | 69ae7dbca54741ebff450366e9ab531e721ce288 /editeng | |
parent | coverity#1325067 Resource leak (diff) | |
download | core-e2c8fbb535c5df91073fd5acbeccf51b2f3153c0.tar.gz core-e2c8fbb535c5df91073fd5acbeccf51b2f3153c0.zip |
coverity#1325068 Resource leak
Change-Id: I608140eb05703f6f0cf2920be7ed706ef30e2a7d
Diffstat (limited to 'editeng')
-rw-r--r-- | editeng/source/outliner/outliner.cxx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/editeng/source/outliner/outliner.cxx b/editeng/source/outliner/outliner.cxx index 1f077c2ab462..72c9a4b568df 100644 --- a/editeng/source/outliner/outliner.cxx +++ b/editeng/source/outliner/outliner.cxx @@ -418,6 +418,7 @@ void Outliner::SetToEmptyText() { OutlinerParaObject *pEmptyTxt = GetEmptyParaObject(); SetText(*pEmptyTxt); + delete pEmptyTxt; } void Outliner::SetText( const OUString& rText, Paragraph* pPara ) |