aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/node/executionnode.cpp
diff options
context:
space:
mode:
authorRenaud G <renaud@rolisteam.org>2015-04-24 21:35:17 +0200
committerRenaud G <renaud@rolisteam.org>2015-04-24 21:35:17 +0200
commit8beb664172cf2c15abb4e12938b8978506471c02 (patch)
treef033c9df5436abe8848a8b4d69353229028c02bd /node/executionnode.cpp
parent67fd3b480f543f2f18bd632ea85d829ba2102a20 (diff)
parentedfcca8d1a630ca7ca79133bd0b03af14fef6363 (diff)
downloadOneRoll-8beb664172cf2c15abb4e12938b8978506471c02.tar.gz
OneRoll-8beb664172cf2c15abb4e12938b8978506471c02.zip
Merge branch 'master' of github.com:obiwankennedy/DiceParser
Conflicts: parsingtoolbox.cpp
Diffstat (limited to 'node/executionnode.cpp')
-rw-r--r--node/executionnode.cpp10
1 files changed, 10 insertions, 0 deletions
diff --git a/node/executionnode.cpp b/node/executionnode.cpp
index 8bcd6e4..343e8d9 100644
--- a/node/executionnode.cpp
+++ b/node/executionnode.cpp
@@ -8,6 +8,16 @@ ExecutionNode::ExecutionNode()
ExecutionNode::~ExecutionNode()
{
+ if(NULL!=m_result)
+ {
+ delete m_result;
+ m_result = NULL;
+ }
+ if(NULL!=m_nextNode)
+ {
+ delete m_nextNode;
+ m_nextNode = NULL;
+ }
}
Result* ExecutionNode::getResult()