From 45b4fada3d57074628be0bee6e4146eb3fcffd5a Mon Sep 17 00:00:00 2001 From: Juan RP Date: Fri, 24 Dec 2010 05:29:39 +0100 Subject: [PATCH] xbps-repo: fix a memleak in the 'show' target. --- bin/xbps-repo/repository.c | 1 + 1 file changed, 1 insertion(+) diff --git a/bin/xbps-repo/repository.c b/bin/xbps-repo/repository.c index e8bf243b..5fa7662d 100644 --- a/bin/xbps-repo/repository.c +++ b/bin/xbps-repo/repository.c @@ -259,6 +259,7 @@ repo_show_pkg_info_cb(struct repository_pool_index *rpi, void *arg, bool *done) free(url); return errno; } + free(url); show_pkg_info_only_repo(repo_pkgd); show_pkg_info(pkg_propsd); prop_object_release(pkg_propsd);