summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 436bc1a)
raw | patch | inline | side by side (parent: 436bc1a)
author | Florian Forster <octo@leeloo.lan.home.verplant.org> | |
Thu, 15 Feb 2007 21:08:57 +0000 (22:08 +0100) | ||
committer | Florian Forster <octo@leeloo.lan.home.verplant.org> | |
Thu, 15 Feb 2007 21:08:57 +0000 (22:08 +0100) |
src/liboconfig/ChangeLog | patch | blob | history | |
src/liboconfig/parser.y | patch | blob | history |
index 85f0dd9bef5b0e5908048c32a37c393c2d4bf590..390c507436d92a1d9b4e63903a2922ea936810f0 100644 (file)
--- a/src/liboconfig/ChangeLog
+++ b/src/liboconfig/ChangeLog
+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)
--- a/src/liboconfig/parser.y
+++ b/src/liboconfig/parser.y
yyerror ("Block not closed..\n");
exit (1);
}
+ free ($3); $3 = NULL;
$$ = $1;
$$.children = $2.statement;
$$.children_num = $2.statement_num;