Need to step forward in the loop to get to an end.

This commit is contained in:
Michael Meskes 2021-03-24 22:06:31 +01:00
parent ad8305a43d
commit 65c2ec6f30

View File

@ -379,6 +379,7 @@ main(int argc, char *const argv[])
for (list = g_declared_list; list != NULL;)
{
struct declared_list *this = list;
list = list->next;
free(this);
}