forked from ariadne/pkgconf
dependency: zero list after freeing
parent
e71a5a3370
commit
34b110200a
|
@ -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