summaryrefslogtreecommitdiff
path: root/lotuswordpro
diff options
context:
space:
mode:
authorMarkus Mohrhard <markus.mohrhard@googlemail.com>2013-02-18 01:18:20 +0100
committerMarkus Mohrhard <markus.mohrhard@googlemail.com>2013-02-18 01:58:39 +0100
commit0bb0c37820b255cb00c8e2637368f43566b65779 (patch)
tree13cdd6c6bfe709de43bfabfc66965a78a4622198 /lotuswordpro
parentaecb97a421b02a65443ec1722b3b35719a7734d1 (diff)
coverity: fix memory leak
Change-Id: If25fd29f4788af37b4ff8ef95568751ddf176f51
Diffstat (limited to 'lotuswordpro')
-rw-r--r--lotuswordpro/source/filter/lwpbulletstylemgr.cxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/lotuswordpro/source/filter/lwpbulletstylemgr.cxx b/lotuswordpro/source/filter/lwpbulletstylemgr.cxx
index 78fa7385bff0..25bdbea1dba9 100644
--- a/lotuswordpro/source/filter/lwpbulletstylemgr.cxx
+++ b/lotuswordpro/source/filter/lwpbulletstylemgr.cxx
@@ -239,6 +239,8 @@ rtl::OUString LwpBulletStyleMgr::RegisterBulletStyle(LwpPara* pPara, LwpBulletOv
}
aStyleName = pXFStyleMgr->AddStyle(pListStyle)->GetStyleName();
}
+ else
+ delete pListStyle;
}