coverity#982967: fix memory leak

Change-Id: Ie96353daa1947297eff417d32ba4c67964489a16
This commit is contained in:
Markus Mohrhard
2013-03-02 03:47:41 +01:00
parent d021bb4dae
commit 3c1c6afa2e

View File

@@ -2082,6 +2082,7 @@ SvTreeListEntry* SvxConfigPage::AddFunction(
// asynchronous error message, because of MsgBoxes
PostUserEvent(
LINK( this, SvxConfigPage, AsyncInfoMsg ) );
delete pNewEntryData;
return NULL;
}