diff options
author | Father Chrysostomos <sprout@cpan.org> | 2013-06-23 06:43:25 -0700 |
---|---|---|
committer | Father Chrysostomos <sprout@cpan.org> | 2013-06-23 06:43:25 -0700 |
commit | 017c5e4e9b62adc664bb68e00c066f64cd8bc760 (patch) | |
tree | 9a676fc600103c6b7b46f4db6928bfa91c66b688 /gv.c | |
parent | acc19697c67fa63c10e07491b670a26c48f4175f (diff) | |
download | perl-017c5e4e9b62adc664bb68e00c066f64cd8bc760.tar.gz |
gv.c:gv_fetchmethod_pvn_flags: Avoid unnecessary extra SV
Diffstat (limited to 'gv.c')
-rw-r--r-- | gv.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1038,7 +1038,7 @@ Perl_gv_fetchmethod_pvn_flags(pTHX_ HV *stash, const char *name, const STRLEN le packnamesv = newSVpvn_flags(origname, nsplit - origname, SVs_TEMP | is_utf8); } else { - packnamesv = sv_2mortal(newSVsv(error_report)); + packnamesv = error_report; } Perl_croak(aTHX_ |