summaryrefslogtreecommitdiffstats
path: root/rpminfo.c
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2020-03-11 10:19:41 +0100
committerRemi Collet <remi@remirepo.net>2020-03-11 10:19:41 +0100
commitcf24cad61566ea38ad11526d9111b40861a2ccfa (patch)
tree741aa543eb0dda6d09ba869de19b57640aee1a40 /rpminfo.c
parent5d618874e6c97d9adea540220373ce906914e6a9 (diff)
free header iterator
Diffstat (limited to 'rpminfo.c')
-rw-r--r--rpminfo.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/rpminfo.c b/rpminfo.c
index 018c307..4a6abea 100644
--- a/rpminfo.c
+++ b/rpminfo.c
@@ -174,6 +174,7 @@ static void rpm_header_to_zval(zval *return_value, Header h, zend_bool full)
}
}
}
+ headerFreeIterator(hi);
if (full) {
add_assoc_bool(return_value, "IsSource", headerIsSource(h));
}