diff options
author | Nicholas Clark <nick@ccl4.org> | 2005-05-25 15:52:33 +0000 |
---|---|---|
committer | Nicholas Clark <nick@ccl4.org> | 2005-05-25 15:52:33 +0000 |
commit | c21d1a0f049833fd2ca59ef598337f86f2cd08f4 (patch) | |
tree | 14de04bc69e174d99a2c18b667d2260f381dd9ef /perl.c | |
parent | 4ba4de046b58ba69d5377ba3b48b04bbfd30638f (diff) | |
download | perl-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.c | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -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 */ |