diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2007-08-09 15:24:42 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2007-08-09 15:24:42 +0000 |
commit | 13ddeea79ae17e076cc7643976bf26a0383fc72b (patch) | |
tree | bfb8041b897a44f737ae5622d07946e2ddc0a56e /URPM.xs | |
parent | 56c19b8782fdc08eae4ce2fa5487211424cdc329 (diff) | |
download | perl-URPM-13ddeea79ae17e076cc7643976bf26a0383fc72b.tar perl-URPM-13ddeea79ae17e076cc7643976bf26a0383fc72b.tar.gz perl-URPM-13ddeea79ae17e076cc7643976bf26a0383fc72b.tar.bz2 perl-URPM-13ddeea79ae17e076cc7643976bf26a0383fc72b.tar.xz perl-URPM-13ddeea79ae17e076cc7643976bf26a0383fc72b.zip |
- compilation fixes on rpm < 4.4.8
Diffstat (limited to 'URPM.xs')
-rw-r--r-- | URPM.xs | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1395,11 +1395,11 @@ 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 *eos = '@'; - _free(platform); } else if (pkg->h && headerIsEntry(pkg->h, RPMTAG_SOURCERPM)) { char *arch = get_name(pkg->h, RPMTAG_ARCH); #ifdef RPM_448 |