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 68345986f2a185c6f0931bc64763fb3df49dd0cc..525694476c21308e8d2ae97462092b0c0b30c8cc 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;
                }
        }