From 573b379489f58a97edf761e465f1a0c3873e94d7 Mon Sep 17 00:00:00 2001 From: Panu Matilainen Date: Apr 23 2020 14:26:58 +0000 Subject: Fix a blindingly obvious memleak in package verify step Erm. Introduced in commit 765e2c72ae8be369ada41d4747b8999519a0e327, but how on earth did this go unnoticed... *blush* --- diff --git a/lib/transaction.c b/lib/transaction.c index e16fed5..67b9db5 100644 --- a/lib/transaction.c +++ b/lib/transaction.c @@ -1259,6 +1259,7 @@ static int verifyPackageFiles(rpmts ts, rpm_loff_t total) rpmteAddProblem(p, RPMPROB_VERIFY, NULL, vd.msg, 0); vd.msg = _free(vd.msg); + rpmvsFree(vs); } rpmtsNotify(ts, NULL, RPMCALLBACK_VERIFY_STOP, total, total);