diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2007-09-11 09:55:59 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2007-09-11 09:55:59 +0000 |
commit | 56dc88b6c4ccb09cbf552ddac4764c351ab4ead5 (patch) | |
tree | 97322cf3e5e21f20713866341dc086a0cc1b9b95 | |
parent | 46254a55eced8372d55b4e2635561d7e94adc8a5 (diff) | |
download | perl-URPM-56dc88b6c4ccb09cbf552ddac4764c351ab4ead5.tar perl-URPM-56dc88b6c4ccb09cbf552ddac4764c351ab4ead5.tar.gz perl-URPM-56dc88b6c4ccb09cbf552ddac4764c351ab4ead5.tar.bz2 perl-URPM-56dc88b6c4ccb09cbf552ddac4764c351ab4ead5.tar.xz perl-URPM-56dc88b6c4ccb09cbf552ddac4764c351ab4ead5.zip |
add missing free()
-rw-r--r-- | URPM.xs | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -1443,6 +1443,7 @@ Pkg_is_arch_compat(pkg) #ifdef RPM_448 platform = rpmExpand(arch, "-%{_real_vendor}-%{_target_os}%{?_gnu}", NULL); RETVAL = rpmPlatformScore(platform, NULL, 0); + _free(platform); #else RETVAL = rpmMachineScore(RPM_MACHTABLE_INSTARCH, arch); #endif |