From 3378c4487d838694b7f58084f39010ad63753a6a Mon Sep 17 00:00:00 2001 From: Juan RP Date: Sun, 5 Oct 2014 09:13:03 +0200 Subject: [PATCH] lib/package_config_files.c: resource leak (CID 62682) --- lib/package_config_files.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/package_config_files.c b/lib/package_config_files.c index 90da5ba3..b9e577bd 100644 --- a/lib/package_config_files.c +++ b/lib/package_config_files.c @@ -224,6 +224,8 @@ xbps_entry_install_conf_file(struct xbps_handle *xhp, rv = 1; break; } + free(sha256_cur); + sha256_cur = NULL; } out: