summaryrefslogtreecommitdiff
path: root/cui
diff options
context:
space:
mode:
authorPedro Giffuni <pfg@apache.org>2015-11-24 15:22:10 +0000
committerPedro Giffuni <pfg@apache.org>2015-11-24 15:22:10 +0000
commit367050e0c21a3eee92735758db6e8fc35975f09c (patch)
tree58e116ca963475f0d0ebb78b4f8e8cecf2bb1259 /cui
parent2ce7862024ef29d0200c1e077e1ce17364ba7ab2 (diff)
Resource leak
CID: 1028009
Notes
Notes: prefer: 2e96061e6d796110ea74513b71aee560ac01cd57
Diffstat (limited to 'cui')
-rw-r--r--cui/source/options/treeopt.cxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/cui/source/options/treeopt.cxx b/cui/source/options/treeopt.cxx
index 6762083b0935..45808ceaea0d 100644
--- a/cui/source/options/treeopt.cxx
+++ b/cui/source/options/treeopt.cxx
@@ -2517,6 +2517,8 @@ void OfaTreeOptionsDialog::LoadNodes(
{
pModule ? aNodeList.push_back( pNode ) : rOutNodeList.push_back( pNode );
}
+ else
+ delete pNode;
}
}