Commit 7ed08c4
committed
Fix memory leak in rb_gc_vm_weak_table_foreach
When deleting from the generic ivar table, we need to free the gen_ivtbl
otherwise we will have a memory leak.1 parent abde86a commit 7ed08c4
2 files changed
+14
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7555 | 7555 | | |
7556 | 7556 | | |
7557 | 7557 | | |
| 7558 | + | |
7558 | 7559 | | |
7559 | 7560 | | |
7560 | 7561 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
121 | 121 | | |
122 | 122 | | |
123 | 123 | | |
| 124 | + | |
124 | 125 | | |
125 | 126 | | |
126 | 127 | | |
| |||
3384 | 3385 | | |
3385 | 3386 | | |
3386 | 3387 | | |
| 3388 | + | |
| 3389 | + | |
| 3390 | + | |
| 3391 | + | |
| 3392 | + | |
| 3393 | + | |
| 3394 | + | |
| 3395 | + | |
| 3396 | + | |
| 3397 | + | |
3387 | 3398 | | |
3388 | 3399 | | |
3389 | 3400 | | |
3390 | 3401 | | |
3391 | 3402 | | |
| 3403 | + | |
| 3404 | + | |
3392 | 3405 | | |
3393 | 3406 | | |
3394 | 3407 | | |
| |||
0 commit comments