summaryrefslogtreecommitdiffstats
path: root/src/parser.y
diff options
context:
space:
mode:
authorPatrick McHardy <kaber@trash.net>2009-03-20 17:42:55 +0100
committerPatrick McHardy <kaber@trash.net>2009-03-20 17:42:55 +0100
commitfc42681eb5872c1ddc3008b35c7c662a46efe8bb (patch)
tree07dc933c4b5c2ca168f671c4550f0abc9dd02f71 /src/parser.y
parent7feffa0ed35e4125f272edded092b890234a794b (diff)
Fix some memory leaks
Free nested chain handles and command structures when done. Signed-off-by: Patrick McHardy <kaber@trash.net>
Diffstat (limited to 'src/parser.y')
-rw-r--r--src/parser.y1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/parser.y b/src/parser.y
index d9da115a..90f9052e 100644
--- a/src/parser.y
+++ b/src/parser.y
@@ -576,6 +576,7 @@ table_line : CHAIN chain_identifier chain_block_alloc
'{' chain_block '}'
{
handle_merge(&$3->handle, &$2);
+ handle_free(&$2);
close_scope(state);
$$ = $3;
}