xbps-repo: fix a memleak in the 'show' target.

This commit is contained in:
Juan RP 2010-12-24 05:29:39 +01:00
parent f2c33b0b08
commit 45b4fada3d

View File

@ -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);