X-Git-Url: https://perl5.git.perl.org/perl5.git/blobdiff_plain/737c24fc85ea612b3265f06a29053674bfbe17bd..6342d5c50ab0a9493ebc0908c3a6ec88d18e183b:/perl.c diff --git a/perl.c b/perl.c index 962b046..157cd6b 100644 --- a/perl.c +++ b/perl.c @@ -1026,8 +1026,8 @@ perl_destruct(pTHXx) if (!specialWARN(PL_compiling.cop_warnings)) PerlMemShared_free(PL_compiling.cop_warnings); PL_compiling.cop_warnings = NULL; - Perl_refcounted_he_free(aTHX_ PL_compiling.cop_hints_hash); - PL_compiling.cop_hints_hash = NULL; + cophh_free(CopHINTHASH_get(&PL_compiling)); + CopHINTHASH_set(&PL_compiling, cophh_new_empty()); CopFILE_free(&PL_compiling); CopSTASH_free(&PL_compiling); @@ -2152,7 +2152,7 @@ S_parse_body(pTHX_ char **env, XSINIT_t xsinit) } #endif - lex_start(linestr_sv, rsfp); + lex_start(linestr_sv, rsfp, 0); PL_subname = newSVpvs("main"); if (add_read_e_script)