isl_input.c: vars_drop: fix error handling
authorSven Verdoolaege <skimo@kotnet.org>
Sat, 26 Jun 2010 09:27:39 +0000 (11:27 +0200)
committerSven Verdoolaege <skimo@kotnet.org>
Sat, 26 Jun 2010 15:37:40 +0000 (17:37 +0200)
isl_input.c

index 8747e56..493e7ac 100644 (file)
@@ -68,7 +68,7 @@ static void vars_drop(struct vars *v, int n)
 {
        struct variable *var;
 
-       if (!v)
+       if (!v || !v->v)
                return;
 
        v->n -= n;