ck_fifo_spsc: De-initialize from head.

ck_pring
Samy Al Bahra 11 years ago
parent 06feae82f3
commit c75e470ed4

@ -115,7 +115,7 @@ CK_CC_INLINE static void
ck_fifo_spsc_deinit(struct ck_fifo_spsc *fifo, struct ck_fifo_spsc_entry **garbage) ck_fifo_spsc_deinit(struct ck_fifo_spsc *fifo, struct ck_fifo_spsc_entry **garbage)
{ {
*garbage = fifo->garbage; *garbage = fifo->head;
fifo->head = fifo->tail = NULL; fifo->head = fifo->tail = NULL;
return; return;
} }

Loading…
Cancel
Save