Commit f7e7652
committed
_msgpack_rmem_alloc2: reset
`xmalloc` may trigger GC, if it does, some buffers may be freed by ruby
and if they were in the previous head, they'll free themselves out of the head.
Fix: #327head.pages pointer before allocating them.1 parent 51da8d8 commit f7e7652
2 files changed
Lines changed: 2 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
1 | 2 | | |
2 | 3 | | |
3 | 4 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
70 | 70 | | |
71 | 71 | | |
72 | 72 | | |
| 73 | + | |
73 | 74 | | |
74 | 75 | | |
75 | 76 | | |
| |||
0 commit comments