Code

liboconfig: Import version 0.1.1.
authorFlorian Forster <octo@leeloo.lan.home.verplant.org>
Thu, 15 Feb 2007 21:08:57 +0000 (22:08 +0100)
committerFlorian Forster <octo@leeloo.lan.home.verplant.org>
Thu, 15 Feb 2007 21:08:57 +0000 (22:08 +0100)
src/liboconfig/ChangeLog
src/liboconfig/parser.y

index 85f0dd9bef5b0e5908048c32a37c393c2d4bf590..390c507436d92a1d9b4e63903a2922ea936810f0 100644 (file)
@@ -1,2 +1,5 @@
+2007-02-15, Version 0.1.1
+       * src/parser.y: Fixes a memory leak.
+
 2007-02-11, Version 0.1.0
        * Initial release.
index 6d1de2d6c01e65b8e6ce9023555ff88f6e5be860..ea6ed0a099a2a822bd119dc6c16ebadcad594c25 100644 (file)
@@ -133,6 +133,7 @@ block:
                yyerror ("Block not closed..\n");
                exit (1);
         }
+        free ($3); $3 = NULL;
         $$ = $1;
         $$.children = $2.statement;
         $$.children_num = $2.statement_num;