Skip to content

Clean up PL_strtab hash with NULL in perl_destruct #23346

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: blead
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions AUTHORS
Original file line number Diff line number Diff line change
Expand Up @@ -1223,6 +1223,7 @@ Robert Spier <rspier@pobox.com>
Roberto C. Sanchez <roberto@connexer.com>
Robin Barker <RMBarker@cpan.org>
Robin Houston <robin@cpan.org>
Robin Ragged <robin.ragged@paranoici.org>
Rocco Caputo <troc@netrus.net>
Roderick Schertler <roderick@argon.org>
Rodger Anderson <rodger@boi.hp.com>
Expand Down
1 change: 1 addition & 0 deletions perl.c
Original file line number Diff line number Diff line change
Expand Up @@ -1389,6 +1389,7 @@ perl_destruct(pTHXx)
HvTOTALKEYS(PL_strtab) = 0;
}
SvREFCNT_dec(PL_strtab);
PL_strtab = NULL;

#ifdef USE_ITHREADS
/* free the pointer tables used for cloning */
Expand Down
Loading