From 8546ab22ccd9fec89af3b6e371cea13fb6a107b0 Mon Sep 17 00:00:00 2001 From: cuz Date: Thu, 11 Oct 2001 13:39:17 +0000 Subject: [PATCH] Free the tree after use git-svn-id: svn://svn.cc65.org/cc65/trunk@1028 b7a2c559-68d2-44c3-8de9-860c34a00d81 --- src/cc65/swstmt.c | 3 +++ 1 file changed, 3 insertions(+) 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 (); -- 2.39.5