diff options
author | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2013-03-02 02:53:46 +0100 |
---|---|---|
committer | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2013-03-02 06:51:52 +0100 |
commit | 290451b92aa2725b43380b9d4cfea54ddb90ff33 (patch) | |
tree | 5d6a41a2d38a2833409641924876b2128a69cf82 /cui | |
parent | a0e717596dbee0e79e481b1be9f09154331d7914 (diff) |
coverity#736322: fix memory leak
Change-Id: I63037b8f128ed9249580cabfe9aab898ead0f89d
Diffstat (limited to 'cui')
-rw-r--r-- | cui/source/options/treeopt.cxx | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/cui/source/options/treeopt.cxx b/cui/source/options/treeopt.cxx index 9c2591478276..8cb338c710fc 100644 --- a/cui/source/options/treeopt.cxx +++ b/cui/source/options/treeopt.cxx @@ -2156,10 +2156,7 @@ VectorOfNodes OfaTreeOptionsDialog::LoadNodes( } } else - pNode->m_aLeaves.push_back( - new OptionsLeaf( - sId, sLeafLabel, sLeafURL, - sEventHdl, sLeafGrpId, nLeafGrpIdx ) ); + pNode->m_aLeaves.push_back( pLeaf ); } } } |