Skip to content

Commit

Permalink
list: clean next pointer on append
Browse files Browse the repository at this point in the history
  • Loading branch information
mdevaev committed Apr 5, 2024
1 parent 1803879 commit aae090a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/libs/list.h
Original file line number Diff line number Diff line change
Expand Up @@ -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) { \
Expand Down

0 comments on commit aae090a

Please sign in to comment.