isl_ast_build.c: isl_ast_build_set_loop_bounds: avoid double free on error path
commit165933a0fdbeac27e11e331a13c5ed9068e23914
authorSven Verdoolaege <skimo@kotnet.org>
Sun, 8 Jan 2017 13:46:21 +0000 (8 14:46 +0100)
committerSven Verdoolaege <skimo@kotnet.org>
Mon, 9 Jan 2017 15:35:40 +0000 (9 16:35 +0100)
tree0424a1a8e557d5e27f585618b7a33b030d9d2b0a
parent362c91b6daeb3fd3c9d6f921fd04f55db64f7763
isl_ast_build.c: isl_ast_build_set_loop_bounds: avoid double free on error path

The double free was introduced in ddd996c (isl_ast_build_set_loop_bounds:
extract out update of pending and generated, Thu Jul 16 19:54:49 2015 +0200).

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