X-Git-Url: http://plrg.eecs.uci.edu/git/?p=c11tester.git;a=blobdiff_plain;f=actionlist.cc;h=0dc8bc89661db7556d4fdc00344f8811d81be927;hp=9f95384d1ac487d94906b99612a69c7e8eb8ba65;hb=b453a87cb63371c235d5da1fc24fd8699a9c57b5;hpb=909fa209cb60fff5d6f72e5826eae13e6eca96de diff --git a/actionlist.cc b/actionlist.cc index 9f95384d..0dc8bc89 100644 --- a/actionlist.cc +++ b/actionlist.cc @@ -227,8 +227,7 @@ void actionlist::removeAction(ModelAction * act) { void actionlist::clear() { for(uint i = 0;i < ALLNODESIZE;i++) { if (root.children[i] != NULL) { - if (!(((uintptr_t) root.children[i]) & ISACT)) - delete root.children[i]; + delete root.children[i]; root.children[i] = NULL; } }