Skip to content

Commit f3143cb

Browse files
committed
bin/xbps-query: fix memory leak in --dependencies
1 parent 5e88e9c commit f3143cb

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

bin/xbps-query/show-deps.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,7 @@ show_pkg_deps(struct xbps_handle *xhp, const char *pkgname, bool repomode, bool
6363
xbps_array_get_cstring_nocopy(rdeps, i, &pkgdep);
6464
puts(pkgdep);
6565
}
66+
xbps_object_release(rdeps);
6667
return 0;
6768
}
6869

0 commit comments

Comments
 (0)