From 49a356df816689332e211f54a183f6f5d7bc1150 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Fri, 29 Oct 2010 08:21:56 +0200 Subject: [PATCH] xbps_get_pkg_index_plist: fix a memleak. --- lib/util.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/util.c b/lib/util.c index 4c6e8a90..d926537f 100644 --- a/lib/util.c +++ b/lib/util.c @@ -353,7 +353,8 @@ get_pkg_index_remote_plist(const char *uri) free(uri_fixed); return NULL; } - + free(uri_fixed); + return repodir; }