forked from ariadne/pkgconf
dependency: zero list after freeing
parent
1ac1cb51af
commit
3bcf96dd01
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|
Loading…
Reference in New Issue