parse.c: extract_tree: avoid uninitialized read on error path
commit9acba5f8781759b86768412d443a8f702d5970e1
authorSven Verdoolaege <skimo@kotnet.org>
Sun, 25 Dec 2016 17:34:27 +0000 (25 18:34 +0100)
committerSven Verdoolaege <skimo@kotnet.org>
Mon, 26 Dec 2016 10:37:49 +0000 (26 11:37 +0100)
tree2de8450bcb65875bfc74f84bec5b49b53a8f2b06
parent029dae187e09e41c004439e3a1e2cf33673871c3
parse.c: extract_tree: avoid uninitialized read on error path

The problematic call to pet_tree_free was introduced in f988c20 (pet_stmt:
use pet_tree to represent statement body, Mon Jan 27 15:29:05 2014 +0100).

Signed-off-by: Sven Verdoolaege <skimo@kotnet.org>
parse.c