mirror of
https://github.com/neovim/neovim.git
synced 2025-10-04 08:56:29 +00:00
unittests: Test tv_list_item_\* functions
To check that memory is free()d correctly.
This commit is contained in:
@@ -228,6 +228,7 @@ void tv_list_unref(list_T *const l)
|
||||
/// @param[in] item2 Last item to remove.
|
||||
void tv_list_remove_items(list_T *const l, listitem_T *const item,
|
||||
listitem_T *const item2)
|
||||
FUNC_ATTR_NONNULL_ALL
|
||||
{
|
||||
// notify watchers
|
||||
for (listitem_T *ip = item; ip != NULL; ip = ip->li_next) {
|
||||
|
Reference in New Issue
Block a user