diff --git a/libc3/window/sdl2/demo/matrix.c b/libc3/window/sdl2/demo/matrix.c
index 2cf1bd0..85c88ad 100644
--- a/libc3/window/sdl2/demo/matrix.c
+++ b/libc3/window/sdl2/demo/matrix.c
@@ -155,7 +155,7 @@ void matrix_screen_clean (s_tag *tag)
list = tag->data.list;
while (list) {
matrix_column_clean(&list->tag);
- list = list_delete(list);
+ list = list_next(list);
}
}