mirror of
https://github.com/pikvm/ustreamer.git
synced 2026-03-19 05:53:42 +00:00
list: clean next pointer on append
This commit is contained in:
@@ -46,6 +46,7 @@
|
|||||||
x_item->prev = m_last; \
|
x_item->prev = m_last; \
|
||||||
m_last->next = x_item; \
|
m_last->next = x_item; \
|
||||||
} \
|
} \
|
||||||
|
x_item->next = NULL; \
|
||||||
}
|
}
|
||||||
|
|
||||||
#define US_LIST_APPEND_C(x_first, x_item, x_count) { \
|
#define US_LIST_APPEND_C(x_first, x_item, x_count) { \
|
||||||
|
|||||||
Reference in New Issue
Block a user