diff options
author | Father Chrysostomos <sprout@cpan.org> | 2011-10-10 14:12:22 -0700 |
---|---|---|
committer | Father Chrysostomos <sprout@cpan.org> | 2011-10-10 14:12:22 -0700 |
commit | 05b525f42a20fe4094336e751e3a99a866e0f97e (patch) | |
tree | cae1b27c696f6078e86f1c08b5a1a3ef92ec55a5 /gv.c | |
parent | 8fa6a40953ef88573ed3cbbb37666e7b72dec7dd (diff) | |
download | perl-05b525f42a20fe4094336e751e3a99a866e0f97e.tar.gz |
gv.c:gv_autoload_pvn: Avoid warning due to temp flag
Diffstat (limited to 'gv.c')
-rw-r--r-- | gv.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -1207,6 +1207,7 @@ Perl_gv_autoload_pvn(pTHX_ HV *stash, const char *name, STRLEN len, U32 flags) ); SvTEMP_on(tmpsv); /* Allow theft */ sv_setsv_nomg((SV *)cv, tmpsv); + SvTEMP_off(tmpsv); SvREFCNT_dec(tmpsv); SvLEN(cv) = SvCUR(cv) + 1; SvCUR(cv) = ulen; |