aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mageia.org>2012-06-18 17:20:52 +0000
committerThierry Vignaud <tv@mageia.org>2012-06-18 17:20:52 +0000
commit953f255fb3a782c426d149ee558841473255526f (patch)
treeac2b9d20c817c30f22b25cea3f35a93f52732d65
parent5883cc7843016674aff56571ca6e688d4dfaaac1 (diff)
downloadperl-URPM-953f255fb3a782c426d149ee558841473255526f.tar
perl-URPM-953f255fb3a782c426d149ee558841473255526f.tar.gz
perl-URPM-953f255fb3a782c426d149ee558841473255526f.tar.bz2
perl-URPM-953f255fb3a782c426d149ee558841473255526f.tar.xz
perl-URPM-953f255fb3a782c426d149ee558841473255526f.zip
(update_provides_files) use proper API for freeing memory
-rw-r--r--URPM.xs4
1 files changed, 2 insertions, 2 deletions
diff --git a/URPM.xs b/URPM.xs
index 037b1eb..28a5eeb 100644
--- a/URPM.xs
+++ b/URPM.xs
@@ -977,8 +977,8 @@ update_provides_files(const URPM__Package pkg, HV *provides) {
update_provide_entry(buff, p-buff, 0, 0, pkg, provides);
}
- free(baseNames);
- free(dirNames);
+ rpmtdFreeData(&td_baseNames);
+ rpmtdFreeData(&td_dirNames);
} else {
struct rpmtd_s td;