diff options
author | nagachika <nagachika@ruby-lang.org> | 2021-03-20 15:54:03 +0900 |
---|---|---|
committer | nagachika <nagachika@ruby-lang.org> | 2021-03-20 15:54:03 +0900 |
commit | 755a349a3a66f5731995296fe3bb7d2b1712167f (patch) | |
tree | a321b8f26fc2652047d558c4957ee280fbf6db68 /cont.c | |
parent | 82bce422ba9e131e62b528854dea69a6e8cc0c04 (diff) |
merge revision(s) 4bff8e84232594ecb9914e2a8437b7c40a63b799: [Backport #16814]
Ensure that the head of the vacancy list is correctly inserted into
the linked list.
See <https://bugs.ruby-lang.org/issues/16814> for more details.
---
cont.c | 1 +
1 file changed, 1 insertion(+)
Diffstat (limited to 'cont.c')
-rw-r--r-- | cont.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -324,6 +324,7 @@ fiber_pool_vacancy_push(struct fiber_pool_vacancy * vacancy, struct fiber_pool_v #ifdef FIBER_POOL_ALLOCATION_FREE if (head) { head->previous = vacancy; + vacancy->previous = NULL; } #endif |