From: cuz Date: Thu, 11 Oct 2001 13:39:17 +0000 (+0000) Subject: Free the tree after use X-Git-Tag: V2.12.0~2566 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=8546ab22ccd9fec89af3b6e371cea13fb6a107b0;p=cc65 Free the tree after use git-svn-id: svn://svn.cc65.org/cc65/trunk@1028 b7a2c559-68d2-44c3-8de9-860c34a00d81 --- diff --git a/src/cc65/swstmt.c b/src/cc65/swstmt.c index 3c541c93d..f085754d6 100644 --- a/src/cc65/swstmt.c +++ b/src/cc65/swstmt.c @@ -225,6 +225,9 @@ void SwitchStatement (void) /* Eat the closing curly brace */ NextToken (); + + /* Free the case value tree */ + FreeCaseNodeColl (Nodes); /* End the loop */ DelLoop ();