Blame SOURCES/0001-Fix-a-blindingly-obvious-memleak-in-package-verify-s.patch

ed184b
From 788935c9ea9d2f469f24be10a9fa998594046731 Mon Sep 17 00:00:00 2001
ed184b
From: Panu Matilainen <pmatilai@redhat.com>
ed184b
Date: Fri, 7 Sep 2018 11:52:33 +0300
ed184b
Subject: [PATCH] Fix a blindingly obvious memleak in package verify step
ed184b
ed184b
Erm. Introduced in commit 765e2c72ae8be369ada41d4747b8999519a0e327,
ed184b
but how on earth did this go unnoticed... *blush*
ed184b
---
ed184b
 lib/transaction.c | 1 +
ed184b
 1 file changed, 1 insertion(+)
ed184b
ed184b
diff --git a/lib/transaction.c b/lib/transaction.c
ed184b
index 205c3f388..3969ad3fc 100644
ed184b
--- a/lib/transaction.c
ed184b
+++ b/lib/transaction.c
ed184b
@@ -1261,6 +1261,7 @@ static int verifyPackageFiles(rpmts ts, rpm_loff_t total)
ed184b
 	    rpmteAddProblem(p, RPMPROB_VERIFY, NULL, vd.msg, 0);
ed184b
 
ed184b
 	vd.msg = _free(vd.msg);
ed184b
+	rpmvsFree(vs);
ed184b
     }
ed184b
     rpmtsNotify(ts, NULL, RPMCALLBACK_VERIFY_STOP, total, total);
ed184b
 
ed184b
-- 
ed184b
2.21.0
ed184b