From d8cffcff15cb74d4b2db124711a16afdfc079500 Mon Sep 17 00:00:00 2001 From: Panu Matilainen Date: Fri, 4 Sep 2009 13:38:58 +0300 Subject: Fix memleak in headerGetDumber() .. err .. Number() --- lib/header.c | 1 + 1 file changed, 1 insertion(+) (limited to 'lib/header.c') 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; } -- cgit v1.2.3