From 3854bd103fac61ee73badcb1241140ad1c0164f1 Mon Sep 17 00:00:00 2001 From: Duncaen Date: Sun, 7 Jul 2019 14:41:11 +0200 Subject: [PATCH] lib/transaction_fetch.c: fix memory leak --- lib/transaction_fetch.c | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/transaction_fetch.c b/lib/transaction_fetch.c index 658988cd..67c8ecbf 100644 --- a/lib/transaction_fetch.c +++ b/lib/transaction_fetch.c @@ -176,6 +176,7 @@ download_binpkg(struct xbps_handle *xhp, xbps_dictionary_t repo_pkgd) *sigsuffix = '\0'; (void)remove(buf); } + free(digest); } if (rv == EPERM) {