From 56dc88b6c4ccb09cbf552ddac4764c351ab4ead5 Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Tue, 11 Sep 2007 09:55:59 +0000 Subject: add missing free() --- URPM.xs | 1 + 1 file changed, 1 insertion(+) diff --git a/URPM.xs b/URPM.xs index d04e01e..1d3afc3 100644 --- a/URPM.xs +++ b/URPM.xs @@ -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 -- cgit v1.2.1