list: refactor lif_list_free_nodes() a bit

This commit is contained in:
Ariadne Conill 2020-07-28 17:53:48 -04:00
parent 58816712c6
commit cfbfa07e85
3 changed files with 9 additions and 10 deletions

View file

@ -69,7 +69,8 @@ lif_dict_add_once(struct lif_dict *dict, const char *key, void *data,
}
}
lif_list_free_nodes (&existing);
lif_list_free_nodes(existing);
if (found)
return NULL;
}