summaryrefslogtreecommitdiff
path: root/lib/query.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/query.c')
-rw-r--r--lib/query.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/query.c b/lib/query.c
index 8e296b517..f448f23af 100644
--- a/lib/query.c
+++ b/lib/query.c
@@ -278,6 +278,7 @@ static int rpmgiShowMatches(QVA_t qva, rpmts ts)
rpmdbCheckSignals();
if ((rc = qva->qva_showPackage(qva, ts, h)) != 0)
ec = rc;
+ headerFree(h);
}
return ec + rpmgiNumErrors(gi);
}