]> git.sur5r.net Git - cc65/commitdiff
Free the tree after use
authorcuz <cuz@b7a2c559-68d2-44c3-8de9-860c34a00d81>
Thu, 11 Oct 2001 13:39:17 +0000 (13:39 +0000)
committercuz <cuz@b7a2c559-68d2-44c3-8de9-860c34a00d81>
Thu, 11 Oct 2001 13:39:17 +0000 (13:39 +0000)
git-svn-id: svn://svn.cc65.org/cc65/trunk@1028 b7a2c559-68d2-44c3-8de9-860c34a00d81

src/cc65/swstmt.c

index 3c541c93d949e15a36484e25d8a79d8c94397744..f085754d66f055037ce9c7c20aa35cf5f22a5c03 100644 (file)
@@ -225,6 +225,9 @@ void SwitchStatement (void)
 
     /* Eat the closing curly brace */
     NextToken ();
+                   
+    /* Free the case value tree */
+    FreeCaseNodeColl (Nodes);
 
     /* End the loop */
     DelLoop ();