diff options
author | Nicholas Clark <nick@ccl4.org> | 2003-02-09 23:00:09 +0000 |
---|---|---|
committer | hv <hv@crypt.org> | 2003-02-16 13:08:52 +0000 |
commit | 8c4d3c904bc47216a128a948cce979bf46eb0682 (patch) | |
tree | 9b637c2d91692337ee0893766a2ba9d8af6a5c48 /sv.c | |
parent | 4927db4444d4255bf5c9a54ba1d153bb533bd274 (diff) | |
download | perl-8c4d3c904bc47216a128a948cce979bf46eb0682.tar.gz |
inline SvREFCNT_dec:
Subject: [PATCH] Copy on write for $& and $1...
Message-ID: <20030209230008.GF299@Bagpuss.unfortu.net>
p4raw-id: //depot/perl@18725
Diffstat (limited to 'sv.c')
-rw-r--r-- | sv.c | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -5436,6 +5436,12 @@ Perl_sv_free(pTHX_ SV *sv) } if (--(SvREFCNT(sv)) > 0) return; + Perl_sv_free2(aTHX_ sv); +} + +void +Perl_sv_free2(pTHX_ SV *sv) +{ #ifdef DEBUGGING if (SvTEMP(sv)) { if (ckWARN_d(WARN_DEBUGGING)) |