summaryrefslogtreecommitdiff
path: root/sd
diff options
context:
space:
mode:
authorMarkus Mohrhard <markus.mohrhard@googlemail.com>2013-02-27 03:05:31 +0100
committerMarkus Mohrhard <markus.mohrhard@googlemail.com>2013-02-27 06:26:08 +0100
commit842c219f3fe73a3d94be6cfda96bff6ac967947f (patch)
tree8065cfe0bf812a303d49bb2e9b350c9fe7af4994 /sd
parent13e8f68e82713cae2d081a236b260bda12aafa23 (diff)
coverity#705699: fix memory leak
Change-Id: Ib0561a18082759d3ccd4175164d3398fa028ba8c
Diffstat (limited to 'sd')
-rw-r--r--sd/source/ui/func/fuinsfil.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/sd/source/ui/func/fuinsfil.cxx b/sd/source/ui/func/fuinsfil.cxx
index d25059a20d6b..3bea01bb2dad 100644
--- a/sd/source/ui/func/fuinsfil.cxx
+++ b/sd/source/ui/func/fuinsfil.cxx
@@ -506,6 +506,7 @@ void FuInsertFile::InsTextOrRTFinDrMode(SfxMedium* pMedium)
if (pOutlinerView)
{
pOutlinerView->InsertText(*pOPO);
+ delete pOPO;
}
else
{