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

src/ld65/config.c

index f6e2ff0ed64ecb00b1a94aeef7445d6f416d51ee..f3e6bf6a1c4c75a0f9d271e5e1b4d2c99ede114c 100644 (file)
@@ -358,7 +358,8 @@ static SegDesc* NewSegDesc (unsigned Name)
 
 static void FreeSegDesc (SegDesc* S)
 /* Free a segment descriptor */
-{
+{               
+    FreeLineInfo (S->LI);
     xfree (S);
 }