dependency: zero list after freeing

Dylan Baker 2022-08-04 11:53:02 -07:00
parent 1ac1cb51af
commit 3bcf96dd01
1 changed files with 2 additions and 0 deletions

View File

@ -279,6 +279,8 @@ pkgconf_dependency_free(pkgconf_list_t *list)
pkgconf_node_delete(&dep->iter, list); pkgconf_node_delete(&dep->iter, list);
pkgconf_dependency_unref(dep->owner, dep); pkgconf_dependency_unref(dep->owner, dep);
} }
pkgconf_list_zero(list);
} }
/* /*