cloog_loop_remove_empty_domain_loops: properly terminate linked list
commitbcbfa00980cc5b70094b1361bd3a95785f7b27f3
authorSven Verdoolaege <skimo@kotnet.org>
Sat, 16 Oct 2010 18:24:41 +0000 (16 20:24 +0200)
committerSven Verdoolaege <skimo@kotnet.org>
Mon, 18 Oct 2010 13:56:54 +0000 (18 15:56 +0200)
treee8f9121d175f79338b56c53a0cac4dd643df13dc
parentbc136ef4723fbad0f5fc3449ac9ccb78bbffeedc
cloog_loop_remove_empty_domain_loops: properly terminate linked list

Due to a typo, the returned list could end up with a dangling pointer
if the final loop in the input list was removed.

Signed-off-by: Sven Verdoolaege <skimo@kotnet.org>
source/loop.c