diff options
author | Panu Matilainen <pmatilai@redhat.com> | 2009-09-04 13:38:58 +0300 |
---|---|---|
committer | Panu Matilainen <pmatilai@redhat.com> | 2009-09-04 13:38:58 +0300 |
commit | d8cffcff15cb74d4b2db124711a16afdfc079500 (patch) | |
tree | c207d0b137d62e3954e764cd5eb90aaf66581128 /lib/header.c | |
parent | eabfd39c3b2fa3813d30bd9f1ba716c1fc88854f (diff) | |
download | rpm-d8cffcff15cb74d4b2db124711a16afdfc079500.tar.gz rpm-d8cffcff15cb74d4b2db124711a16afdfc079500.tar.bz2 rpm-d8cffcff15cb74d4b2db124711a16afdfc079500.zip |
Fix memleak in headerGetDumber() .. err .. Number()
Diffstat (limited to 'lib/header.c')
-rw-r--r-- | lib/header.c | 1 |
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; } |