This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Add a new macro SvPV_free() which undoes OOK and free()s the PVX(),
authorNicholas Clark <nick@ccl4.org>
Thu, 28 Apr 2005 11:22:15 +0000 (11:22 +0000)
committerNicholas Clark <nick@ccl4.org>
Thu, 28 Apr 2005 11:22:15 +0000 (11:22 +0000)
commit8bd4d4c5ee440ccae167e2a7f5bf6f74ff02916b
treea0c18027ed2df90e52cd3274c69bcff795b71d6f
parent9dcb96024af7087d05f03617e991e04fef9ff716
Add a new macro SvPV_free() which undoes OOK and free()s the PVX(),
becase there's a lot of code around that calls SvOOK_off(), memmov()s
the buffer, then promptly free()s it. So avoid the needless memmov().

p4raw-id: //depot/perl@24348
perl.c
pp.c
pp_ctl.c
pp_hot.c
sv.c
sv.h