summaryrefslogtreecommitdiff
path: root/cui
diff options
context:
space:
mode:
authorMarkus Mohrhard <markus.mohrhard@googlemail.com>2013-03-02 03:47:41 +0100
committerMarkus Mohrhard <markus.mohrhard@googlemail.com>2013-03-02 06:51:58 +0100
commit3c1c6afa2e6671af8508e39b83a58f026655d7eb (patch)
tree951568e0329b273bee536e7b165471d9a6531480 /cui
parentd021bb4dae80a194c196c8885bc5125b78476bd8 (diff)
coverity#982967: fix memory leak
Change-Id: Ie96353daa1947297eff417d32ba4c67964489a16
Diffstat (limited to 'cui')
-rw-r--r--cui/source/customize/cfg.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/cui/source/customize/cfg.cxx b/cui/source/customize/cfg.cxx
index abe67f6ecc30..05a28f860268 100644
--- a/cui/source/customize/cfg.cxx
+++ b/cui/source/customize/cfg.cxx
@@ -2082,6 +2082,7 @@ SvTreeListEntry* SvxConfigPage::AddFunction(
// asynchronous error message, because of MsgBoxes
PostUserEvent(
LINK( this, SvxConfigPage, AsyncInfoMsg ) );
+ delete pNewEntryData;
return NULL;
}