list: clean next pointer on append

This commit is contained in:
Maxim Devaev 2024-04-05 19:29:13 +03:00
parent 18038799f0
commit aae090ab4e

View File

@ -46,6 +46,7 @@
x_item->prev = m_last; \
m_last->next = x_item; \
} \
x_item->next = NULL; \
}
#define US_LIST_APPEND_C(x_first, x_item, x_count) { \