[pacman-dev] [PATCH 1/1] dload: free final_pkg_url
Christian Hesse
list at eworm.de
Thu Oct 16 11:47:18 UTC 2014
From: Christian Hesse <mail at eworm.de>
---
lib/libalpm/dload.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/lib/libalpm/dload.c b/lib/libalpm/dload.c
index 1f8070c..6b803f2 100644
--- a/lib/libalpm/dload.c
+++ b/lib/libalpm/dload.c
@@ -737,6 +737,7 @@ char SYMEXPORT *alpm_fetch_pkgurl(alpm_handle_t *handle, const char *url)
filepath = _alpm_filecache_find(handle, final_file);
}
free(final_file);
+ free(final_pkg_url);
return filepath;
}
--
2.1.2
More information about the pacman-dev
mailing list