]> git.sur5r.net Git - cc65/commitdiff
Fixed a memory leak.
authoruz <uz@b7a2c559-68d2-44c3-8de9-860c34a00d81>
Tue, 2 Aug 2011 16:16:37 +0000 (16:16 +0000)
committeruz <uz@b7a2c559-68d2-44c3-8de9-860c34a00d81>
Tue, 2 Aug 2011 16:16:37 +0000 (16:16 +0000)
git-svn-id: svn://svn.cc65.org/cc65/trunk@5108 b7a2c559-68d2-44c3-8de9-860c34a00d81

src/ca65/condasm.c

index 49ad252fba25c9de28c1f3e564e6712ec2ab1cce..fc0e0ba773e0038a3850eaa1e953c47a787abbd8 100644 (file)
@@ -198,6 +198,7 @@ static void FreeIf (void)
            Done = 1;
                } else {
                    Done = (ID->Flags & ifNeedTerm) != 0;
+            DoneCollection (&ID->LineInfos);
             --IfCount;
                }
     } while (!Done);