summaryrefslogtreecommitdiff
path: root/op.c
diff options
context:
space:
mode:
authorDave Mitchell <davem@fdisolutions.com>2004-03-26 13:05:50 +0000
committerDave Mitchell <davem@fdisolutions.com>2004-03-26 13:05:50 +0000
commitdfa41748806263fb8b5d5fcb051bd36be96fe93c (patch)
tree489e1161a9e207248764b6552aba3327e675d317 /op.c
parent61967be2c930c0a1754925d7a1d1c2924a3b57ab (diff)
downloadperl-dfa41748806263fb8b5d5fcb051bd36be96fe93c.tar.gz
[perl #27040] - hints hash was being double freed on scope exit
p4raw-id: //depot/perl@22594
Diffstat (limited to 'op.c')
-rw-r--r--op.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/op.c b/op.c
index 344130c452..a13a7ef1b9 100644
--- a/op.c
+++ b/op.c
@@ -1763,13 +1763,11 @@ Perl_scope(pTHX_ OP *o)
return o;
}
+/* XXX kept for BINCOMPAT only */
void
Perl_save_hints(pTHX)
{
- SAVEI32(PL_hints);
- SAVESPTR(GvHV(PL_hintgv));
- GvHV(PL_hintgv) = newHVhv(GvHV(PL_hintgv));
- SAVEFREESV(GvHV(PL_hintgv));
+ Perl_croak(aTHX_ "internal error: obsolete function save_hints() called");
}
int