From c0d3b103ac87290c4fc68b20db31d646bdb75867 Mon Sep 17 00:00:00 2001 From: Sven Verdoolaege Date: Mon, 1 Feb 2010 13:36:46 +0100 Subject: [PATCH] isl_input.c: fix memory deallocation problem on missing operator --- isl_input.c | 1 + 1 file changed, 1 insertion(+) diff --git a/isl_input.c b/isl_input.c index 40415e7..6c8f0c6 100644 --- a/isl_input.c +++ b/isl_input.c @@ -404,6 +404,7 @@ static struct isl_basic_map *add_constraint(struct isl_stream *s, default: isl_stream_error(s, tok, "missing operator"); isl_stream_push_token(s, tok); + tok = NULL; goto error; } aff2 = accept_affine(s, *v); -- 2.7.4