diff options
author | Per Øyvind Karlsen <peroyvind@mandriva.org> | 2011-03-31 00:29:54 +0000 |
---|---|---|
committer | Per Øyvind Karlsen <peroyvind@mandriva.org> | 2011-03-31 00:29:54 +0000 |
commit | a5546ceb6d2d253989a99dc0fde3e21dbbc07590 (patch) | |
tree | e3a9cfc3f342db42f31e9aa722dbfb4ad9e54c94 | |
parent | a17d57a769c3bae178800759678cb940a54e5e17 (diff) | |
download | perl-URPM-a5546ceb6d2d253989a99dc0fde3e21dbbc07590.tar perl-URPM-a5546ceb6d2d253989a99dc0fde3e21dbbc07590.tar.gz perl-URPM-a5546ceb6d2d253989a99dc0fde3e21dbbc07590.tar.bz2 perl-URPM-a5546ceb6d2d253989a99dc0fde3e21dbbc07590.tar.xz perl-URPM-a5546ceb6d2d253989a99dc0fde3e21dbbc07590.zip |
fix memleak in URPM::Pkg->evr()
-rw-r--r-- | NEWS | 1 | ||||
-rw-r--r-- | URPM.xs | 1 |
2 files changed, 2 insertions, 0 deletions
@@ -1,5 +1,6 @@ Version 4.18 - 31 March 2011, by Per Øyvind Karlsen +- fix memleak in URPM::Pkg->evr() - drop URPM::DB::close() and teardown properly by calling rpmcliFini() at exit - fix odd i586 specific bug triggering segfault with -fstack-protector (#61690) @@ -431,6 +431,7 @@ get_evr(URPM__Package pkg) { } else if(pkg->h) { rpmds ds = rpmdsThis(pkg->h, RPMTAG_PROVIDEVERSION, 0); evr = rpmdsEVR(ds); + ds = rpmdsFree(ds); } return evr; } |