From: uz Date: Tue, 2 Aug 2011 16:16:37 +0000 (+0000) Subject: Fixed a memory leak. X-Git-Tag: V2.13.3~354 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=1df46aed1136f80fcba3f8e9fe594ec3d7d504b8;p=cc65 Fixed a memory leak. git-svn-id: svn://svn.cc65.org/cc65/trunk@5108 b7a2c559-68d2-44c3-8de9-860c34a00d81 --- diff --git a/src/ca65/condasm.c b/src/ca65/condasm.c index 49ad252fb..fc0e0ba77 100644 --- a/src/ca65/condasm.c +++ b/src/ca65/condasm.c @@ -198,6 +198,7 @@ static void FreeIf (void) Done = 1; } else { Done = (ID->Flags & ifNeedTerm) != 0; + DoneCollection (&ID->LineInfos); --IfCount; } } while (!Done);