isl_id_alloc: return NULL if ctx argument is NULL
commit56adc9d36197140b9158615f6760c0a9f35b05a2
authorSven Verdoolaege <skimo@kotnet.org>
Fri, 2 May 2014 10:06:00 +0000 (2 12:06 +0200)
committerSven Verdoolaege <skimo@kotnet.org>
Sat, 14 Jun 2014 09:57:22 +0000 (14 11:57 +0200)
tree5dc4051c698985ca0cd2dc15bd1f244fa0339e03
parent9de35e7399d7ad56d9e854e32172a0d3ca7eb5dd
isl_id_alloc: return NULL if ctx argument is NULL

We missed this in e9a49bb (isl_*alloc*: return NULL if ctx argument is NULL,
Tue May 29 15:44:46 2012 +0200) because the ctx argument is used
before the isl_id structure is allocation.

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