summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <thierry.vignaud@gmail.com>2022-04-29 02:20:29 +0200
committerThierry Vignaud <thierry.vignaud@gmail.com>2022-04-29 02:54:49 +0200
commit45a5a10092da7f2f0966505c816a3c0660306364 (patch)
treea01ea7255ed0c5fda14f17951c760aee48cc5071
parentf6d333affb60e5364bf30355869fd359da2317e8 (diff)
downloadperl-RPM4-45a5a10092da7f2f0966505c816a3c0660306364.tar
perl-RPM4-45a5a10092da7f2f0966505c816a3c0660306364.tar.gz
perl-RPM4-45a5a10092da7f2f0966505c816a3c0660306364.tar.bz2
perl-RPM4-45a5a10092da7f2f0966505c816a3c0660306364.tar.xz
perl-RPM4-45a5a10092da7f2f0966505c816a3c0660306364.zip
Fix segfault
We cannot free an rpmfi object we just wrapped into a SV Bug introduced in commit f6d333affb60e5364bf30355869fd359da2317e8
-rw-r--r--RPM4/src/RPM4.xs1
1 files changed, 0 insertions, 1 deletions
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