summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/header.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/header.c b/lib/header.c
index 91fa63849..e309cec85 100644
--- a/lib/header.c
+++ b/lib/header.c
@@ -1943,6 +1943,7 @@ uint64_t headerGetNumber(Header h, rpmTag tag)
if (rpmtdCount(&td) == 1) {
res = rpmtdGetNumber(&td);
}
+ rpmtdFreeData(&td);
}
return res;
}