isl_flow.c: isl_compute_flow_schedule_data_clear: handle uninitialized data
commit7711f44b7b2b66fdf03f113b2b80d4e94744a7f9
authorSven Verdoolaege <skimo@kotnet.org>
Mon, 20 Apr 2015 09:44:06 +0000 (20 11:44 +0200)
committerSven Verdoolaege <skimo@kotnet.org>
Sat, 2 May 2015 08:29:49 +0000 (2 10:29 +0200)
treee3b266b4d1db84adfdf7c67e7b1ff27ff82bf312
parent7b2f4c9f0cf2facd9696aa3b7842ad695b5dadcd
isl_flow.c: isl_compute_flow_schedule_data_clear: handle uninitialized data

If some error occurred during the construction of
the isl_compute_flow_schedule_data object, then data->sink may still
be NULL and we should avoid dereferencing it.

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