pkg: free packages constructed while walking the dependency graph
parent
d99f3db88e
commit
29ca5b7eee
2
pkg.c
2
pkg.c
|
@ -461,6 +461,8 @@ pkg_walk_list(pkg_dependency_t *deplist,
|
||||||
return pkg_report_graph_error(pkgdep, node, eflags);
|
return pkg_report_graph_error(pkgdep, node, eflags);
|
||||||
|
|
||||||
pkg_traverse(pkgdep, pkg_traverse_func, data, depth - 1, flags);
|
pkg_traverse(pkgdep, pkg_traverse_func, data, depth - 1, flags);
|
||||||
|
|
||||||
|
pkg_free(pkgdep);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue