projects
/
cdsspec-compiler.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c5bccfe
)
tree: fix invalid free
author
Brian Norris
<banorris@uci.edu>
Wed, 18 Apr 2012 01:23:09 +0000
(18:23 -0700)
committer
Brian Norris
<banorris@uci.edu>
Wed, 18 Apr 2012 01:23:09 +0000
(18:23 -0700)
tree.cc
patch
|
blob
|
history
diff --git
a/tree.cc
b/tree.cc
index 37dfa2698bb7aec3aad7f17f3280bd03400ddfa5..f42202ec1bfd46f9935805eceafbc8930f4d7aff 100644
(file)
--- a/
tree.cc
+++ b/
tree.cc
@@
-13,7
+13,6
@@
TreeNode::~TreeNode() {
for (it = children.begin(); it != children.end(); it++)
delete it->second;
- delete &children;
}
TreeNode *TreeNode::exploreChild(tree_t id)