From e2c8fbb535c5df91073fd5acbeccf51b2f3153c0 Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Tue, 29 Sep 2015 10:20:30 +0100 Subject: coverity#1325068 Resource leak Change-Id: I608140eb05703f6f0cf2920be7ed706ef30e2a7d --- editeng/source/outliner/outliner.cxx | 1 + 1 file changed, 1 insertion(+) 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 ) -- cgit