dependency: zero list after freeing

master
Dylan Baker 2022-08-04 11:53:02 -07:00
parent e71a5a3370
commit 34b110200a
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);
} }
/* /*