isl_tab_relax: avoid NULL pointer dereference
commit32eb842cbefb43075436cc38cc4790ceb7ae5ada
authorSven Verdoolaege <skimo@kotnet.org>
Tue, 14 Oct 2014 11:17:14 +0000 (14 13:17 +0200)
committerSven Verdoolaege <skimo@kotnet.org>
Thu, 25 Dec 2014 09:52:45 +0000 (25 10:52 +0100)
treea9e40bcb33ca29bd3121cb914f7736e23b49abb0
parent2ef39d89cbbbf08a08e45396e3df39821cb9c439
isl_tab_relax: avoid NULL pointer dereference

We should only be calling isl_tab_relax on an isl_tab that is not NULL.
However, since we actually check whether "tab" is NULL, we should not
dereference it before the check.

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