diff --git a/bin/xbps-query/search.c b/bin/xbps-query/search.c index 8413009d..961f89b2 100644 --- a/bin/xbps-query/search.c +++ b/bin/xbps-query/search.c @@ -136,6 +136,7 @@ show_pkg_namedesc(struct xbps_handle *xhp, } else { printf("%s %s %s\n", inststr, tmp, desc); } + free(tmp); } }