summaryrefslogtreecommitdiff
path: root/pp_ctl.c
diff options
context:
space:
mode:
authorFather Chrysostomos <sprout@cpan.org>2010-11-25 06:14:40 -0800
committerFather Chrysostomos <sprout@cpan.org>2010-11-25 09:42:55 -0800
commit1be7d6f30dca514e55231f7f2c85ef4f0c2e72ad (patch)
treeb5eed5bf46229c85bb9ee6c6fa9ea6c4f88c5b16 /pp_ctl.c
parent9d056fb0da516ee7e0b8deae1b90a1e2f382c7ec (diff)
downloadperl-1be7d6f30dca514e55231f7f2c85ef4f0c2e72ad.tar.gz
[perl #78438] Memory leak with 'use v5.42'
Diffstat (limited to 'pp_ctl.c')
-rw-r--r--pp_ctl.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/pp_ctl.c b/pp_ctl.c
index 31c716e4f6..a2c3b7e1fb 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)))
+ );
}
}
}