From 1be7d6f30dca514e55231f7f2c85ef4f0c2e72ad Mon Sep 17 00:00:00 2001 From: Father Chrysostomos Date: Thu, 25 Nov 2010 06:14:40 -0800 Subject: [PATCH] [perl #78438] Memory leak with 'use v5.42' --- pp_ctl.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/pp_ctl.c b/pp_ctl.c index 31c716e..a2c3b7e 100644 --- a/pp_ctl.c +++ b/pp_ctl.c @@ -3462,9 +3462,10 @@ PP(pp_require) DIE(aTHX_ "Perl %"SVf" required (did you mean %"SVf"?)" "--this is only %"SVf", stopped", - SVfARG(vnormal(req)), - SVfARG(vnormal(sv_2mortal(hintsv))), - SVfARG(vnormal(PL_patchlevel))); + SVfARG(sv_2mortal(vnormal(req))), + SVfARG(sv_2mortal(vnormal(sv_2mortal(hintsv)))), + SVfARG(sv_2mortal(vnormal(PL_patchlevel))) + ); } } } -- 2.7.4