diff options
author | Father Chrysostomos <sprout@cpan.org> | 2011-12-02 13:04:41 -0800 |
---|---|---|
committer | Father Chrysostomos <sprout@cpan.org> | 2011-12-02 13:25:19 -0800 |
commit | 6fc2092288e8c25cd8ecb2c6139053f89a23e49a (patch) | |
tree | eb9b3eb811f5d6357b2cb716db6b429a293cf937 /pp_ctl.c | |
parent | 4b476daa33ccf495c0ac155bb4ee5f77e349cb95 (diff) | |
download | perl-6fc2092288e8c25cd8ecb2c6139053f89a23e49a.tar.gz |
$tied =~ s///e when FETCH returns a COW
This used to cause an assertion failure, or sometimes ‘Attempt to free
nonexistent shared string’.
All that was required to fix it was the deletion of two cpp lines.
Diffstat (limited to 'pp_ctl.c')
-rw-r--r-- | pp_ctl.c | 2 |
1 files changed, 0 insertions, 2 deletions
@@ -328,11 +328,9 @@ PP(pp_substcont) targ = dstr; } else { -#ifdef PERL_OLD_COPY_ON_WRITE if (SvIsCOW(targ)) { sv_force_normal_flags(targ, SV_COW_DROP_PV); } else -#endif { SvPV_free(targ); } |