diff options
author | 卜部昌平 <[email protected]> | 2024-11-29 18:16:47 +0900 |
---|---|---|
committer | 卜部昌平 <[email protected]> | 2024-11-29 23:19:05 +0900 |
commit | 705714be3e8aee2a295bea8789b997f5dd2450cc (patch) | |
tree | 96edca706e39af2af0be4607cdcacf8430310c29 /gc.c | |
parent | 25ad7e8e6c272bf4d13bbd575bb184cd7542714d (diff) |
prefer ruby_memerror instead
This could be out of GVL
Notes
Notes:
Merged: https://github.com/ruby/ruby/pull/12188
Diffstat (limited to 'gc.c')
-rw-r--r-- | gc.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -4443,7 +4443,8 @@ handle_malloc_failure(void *ptr) return ptr; } else { - return ruby_memerror_body(ptr); + ruby_memerror(); + UNREACHABLE_RETURN(ptr); } } |