Fix src/list.c

This commit is contained in:
2026-01-10 00:50:19 -08:00
parent ae7b645b7a
commit 6916fda383

View File

@ -259,7 +259,7 @@ RefcountList *refcount_list_join(RefcountList *list1, RefcountList *list2) {
}
if (list2) {
if (list2->prev) {
list2->prev = NULL;
list2->prev->next = NULL;
}
list2->prev = end1;
}