summaryrefslogtreecommitdiff
path: root/isl_tab.c
diff options
context:
space:
mode:
Diffstat (limited to 'isl_tab.c')
-rw-r--r--isl_tab.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/isl_tab.c b/isl_tab.c
index 6089f3a1..3fc0367f 100644
--- a/isl_tab.c
+++ b/isl_tab.c
@@ -787,6 +787,8 @@ static int push_union(struct isl_tab *tab,
{
struct isl_tab_undo *undo;
+ if (!tab)
+ return -1;
if (!tab->need_undo)
return 0;