From 45a5a10092da7f2f0966505c816a3c0660306364 Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Fri, 29 Apr 2022 02:20:29 +0200 Subject: Fix segfault We cannot free an rpmfi object we just wrapped into a SV Bug introduced in commit f6d333affb60e5364bf30355869fd359da2317e8 --- RPM4/src/RPM4.xs | 1 - 1 file changed, 1 deletion(-) diff --git a/RPM4/src/RPM4.xs b/RPM4/src/RPM4.xs index 71e23fa..dbbbd28 100644 --- a/RPM4/src/RPM4.xs +++ b/RPM4/src/RPM4.xs @@ -1968,7 +1968,6 @@ Te_files(Te) PRINTF_NEW(bless_rpmfi, Files, Files->nrefs); #endif } - rpmfiFree(fi); rpmfilesFree(Files); MODULE = RPM4 PACKAGE = RPM4 -- cgit v1.2.1