From f44f77106ae3ba3074749d82c9bd2a1af932f97e Mon Sep 17 00:00:00 2001 From: Florian Forster Date: Thu, 15 Feb 2007 22:08:57 +0100 Subject: [PATCH] liboconfig: Import version 0.1.1. --- src/liboconfig/ChangeLog | 3 +++ src/liboconfig/parser.y | 1 + 2 files changed, 4 insertions(+) diff --git a/src/liboconfig/ChangeLog b/src/liboconfig/ChangeLog index 85f0dd9b..390c5074 100644 --- a/src/liboconfig/ChangeLog +++ b/src/liboconfig/ChangeLog @@ -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. diff --git a/src/liboconfig/parser.y b/src/liboconfig/parser.y index 6d1de2d6..ea6ed0a0 100644 --- a/src/liboconfig/parser.y +++ b/src/liboconfig/parser.y @@ -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; -- 2.30.2