diff options
author | Nicholas Clark <nick@ccl4.org> | 2009-05-18 11:27:16 +0100 |
---|---|---|
committer | Nicholas Clark <nick@ccl4.org> | 2009-05-18 11:27:16 +0100 |
commit | ebee25a2250e4f12a44dc498c0aeeab23b29c639 (patch) | |
tree | 7d515790a2860a6a1dbe796be5223237dc60695b /sv.c | |
parent | 5c24ba53b31bd7b59968b230a4f79003c5a37750 (diff) | |
download | perl-ebee25a2250e4f12a44dc498c0aeeab23b29c639.tar.gz |
In Perl_mg_dup(), don't call ptr_table_fetch, as we never call ptr_table_store.
Diffstat (limited to 'sv.c')
-rw-r--r-- | sv.c | 4 |
1 files changed, 0 insertions, 4 deletions
@@ -10516,10 +10516,6 @@ Perl_mg_dup(pTHX_ MAGIC *mg, CLONE_PARAMS *const param) if (!mg) return (MAGIC*)NULL; - /* look for it in the table first */ - mgret = (MAGIC*)ptr_table_fetch(PL_ptr_table, mg); - if (mgret) - return mgret; for (; mg; mg = mg->mg_moremagic) { MAGIC *nmg; |