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 | |
parent | acf83365fcea4b8471f087cf88a548e77b4b26e5 (diff) |
coverity#1325068 Resource leak
Change-Id: I608140eb05703f6f0cf2920be7ed706ef30e2a7d
-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 ) |