Fix logic error / warning in fake g_list_remove

This commit is contained in:
Evan Miller 2020-08-05 00:27:03 -04:00
parent 6771014c49
commit 4f481000a8

View File

@ -223,7 +223,7 @@ GList *g_list_remove(GList *list, void *data) {
if (link == list)
return_list = link->next;
free(link);
return list;
return return_list;
}
link = link->next;
}