mirror of
https://github.com/mdbtools/mdbtools.git
synced 2025-04-05 20:31:00 +08:00
Fix logic error / warning in fake g_list_remove
This commit is contained in:
parent
6771014c49
commit
4f481000a8
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user