aboutsummaryrefslogtreecommitdiff
path: root/common/list.c
diff options
context:
space:
mode:
authorIan Fan <ianfan0@gmail.com>2018-12-09 01:15:23 +0000
committerIan Fan <ianfan0@gmail.com>2018-12-09 01:15:38 +0000
commit98c1e19466c0d83c8e1ca86eda5b273eda7eff3c (patch)
treeb47ccc174669786e3a1df9569046886c23003a45 /common/list.c
parentc8776fac4232f9faab0a78ef3e18dc4366496421 (diff)
list.c: rename free_flat_list to list_free_items_and_destroy
Diffstat (limited to 'common/list.c')
-rw-r--r--common/list.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/list.c b/common/list.c
index 2a803702..9805ceec 100644
--- a/common/list.c
+++ b/common/list.c
@@ -147,7 +147,7 @@ void list_stable_sort(list_t *list, int compare(const void *a, const void *b)) {
}
}
-void free_flat_list(list_t *list) {
+void list_free_items_and_destroy(list_t *list) {
if (!list) {
return;
}