diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2008-12-09 15:52:52 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2008-12-09 15:52:52 +0000 |
commit | e9fe57d21a973a32460c6871e701981698f05d16 (patch) | |
tree | 43d012f5eb93ebdcc49acc4d6da2b458a369cabd | |
parent | 4f1e1255413c5282ef5f8562be611729a0ffeb70 (diff) | |
download | perl-URPM-e9fe57d21a973a32460c6871e701981698f05d16.tar perl-URPM-e9fe57d21a973a32460c6871e701981698f05d16.tar.gz perl-URPM-e9fe57d21a973a32460c6871e701981698f05d16.tar.bz2 perl-URPM-e9fe57d21a973a32460c6871e701981698f05d16.tar.xz perl-URPM-e9fe57d21a973a32460c6871e701981698f05d16.zip |
do free the ts after user, this is especially needed since rpmVerifySignature
(wrongly) called in rpmReadPackageFile can open the rpmdb which won't get
closed if ts is not closed
-rw-r--r-- | URPM.xs | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -1291,6 +1291,7 @@ update_header(char *filename, URPM__Package pkg, int keep_all_tags, int vsflags) pkg->flag &= ~FLAG_NO_HEADER_FREE; /*if (!keep_all_tags) drop_tags(&pkg->h);*/ + rpmtsFree(ts); return 1; } rpmtsFree(ts); |