diff --git a/lib/package_alternatives.c b/lib/package_alternatives.c index 4971e6b0..61f19f26 100644 --- a/lib/package_alternatives.c +++ b/lib/package_alternatives.c @@ -411,6 +411,7 @@ remove_obsoletes(struct xbps_handle *xhp, xbps_dictionary_t pkgd, xbps_dictionar remove_symlinks(xhp, array, keyname); } } + xbps_object_release(allkeys); } int