revert check
authorroot <root@plrg-1.ics.uci.edu>
Wed, 8 Apr 2020 23:11:05 +0000 (16:11 -0700)
committerroot <root@plrg-1.ics.uci.edu>
Wed, 8 Apr 2020 23:11:05 +0000 (16:11 -0700)
actionlist.cc

index 6834598..5256944 100644 (file)
@@ -226,8 +226,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;
                }
        }