MT#55283 fix t_queue_move booboo

Fix missing adjustment of destination tail pointer (with possibly
catastrophic consequences)

Change-Id: I26bf03b303c11ebeaf6ff09dccdf1689d4e010fa
pull/1826/head
Richard Fuchs 2 years ago
parent f1fa3edabe
commit 39087ebf49

@ -311,6 +311,7 @@
else { \
__dst->tail->next = __src->head; \
__src->head->prev = __dst->tail; \
__dst->tail = __src->tail; \
__dst->length += __src->length; \
t_queue_init(__src); \
} \

Loading…
Cancel
Save