summaryrefslogtreecommitdiff
path: root/perl.c
diff options
context:
space:
mode:
authorNicholas Clark <nick@ccl4.org>2005-05-25 15:52:33 +0000
committerNicholas Clark <nick@ccl4.org>2005-05-25 15:52:33 +0000
commitc21d1a0f049833fd2ca59ef598337f86f2cd08f4 (patch)
tree14de04bc69e174d99a2c18b667d2260f381dd9ef /perl.c
parent4ba4de046b58ba69d5377ba3b48b04bbfd30638f (diff)
downloadperl-c21d1a0f049833fd2ca59ef598337f86f2cd08f4.tar.gz
Track the mapping between source shared hash keys and target shared
hash keys to save repeated lookups during cloning. p4raw-id: //depot/perl@24574
Diffstat (limited to 'perl.c')
-rw-r--r--perl.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/perl.c b/perl.c
index babaaed3b1..a7ed27e51b 100644
--- a/perl.c
+++ b/perl.c
@@ -834,9 +834,11 @@ perl_destruct(pTHXx)
SvREFCNT_dec(PL_strtab);
#ifdef USE_ITHREADS
- /* free the pointer table used for cloning */
+ /* free the pointer tables used for cloning */
ptr_table_free(PL_ptr_table);
PL_ptr_table = (PTR_TBL_t*)NULL;
+ ptr_table_free(PL_shared_hek_table);
+ PL_shared_hek_table = (PTR_TBL_t*)NULL;
#endif
/* free special SVs */