projects
/
model-checker.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
424d7c7
)
nodestack: destroy Nodes properly in ~NodeStack()
author
Brian Norris
<banorris@uci.edu>
Thu, 4 Oct 2012 21:59:44 +0000
(14:59 -0700)
committer
Brian Norris
<banorris@uci.edu>
Thu, 4 Oct 2012 21:59:44 +0000
(14:59 -0700)
nodestack.cc
patch
|
blob
|
history
diff --git
a/nodestack.cc
b/nodestack.cc
index
0be23af
..
6b1d4ef
100644
(file)
--- a/
nodestack.cc
+++ b/
nodestack.cc
@@
-372,6
+372,8
@@
NodeStack::NodeStack() :
NodeStack::~NodeStack()
{
+ for (unsigned int i = 0; i < node_list.size(); i++)
+ delete node_list[i];
}
void NodeStack::print()