summaryrefslogtreecommitdiff
path: root/trunk/ext/strscan/extconf.rb
diff options
context:
space:
mode:
authorPeter Zhu <peter@peterzhu.ca>2024-06-12 15:07:53 -0400
committerPeter Zhu <peter@peterzhu.ca>2024-06-12 16:12:46 -0400
commit7c46aa5ed4573ca04e6ffe1b19191e8227db2ab3 (patch)
tree200f11722d47d4c2262290154a7c5e6d4f6a56fa /trunk/ext/strscan/extconf.rb
parent94a8f05f00185df6063dd2ce2939b96713806c7a (diff)
[Bug #20577] Fix freeing symbols when RUBY_FREE_AT_EXITHEADmaster
Dynamic symbols point to a fstring. When we free the symbol, we hash the fstring to remove it from the table. However, the fstring could have already been freed, which can cause a crash. This commit changes it to remove the reference to the fstring before freeing the symbol so we can avoid this crash.
Diffstat (limited to 'trunk/ext/strscan/extconf.rb')
0 files changed, 0 insertions, 0 deletions