Commit 957c832
committed
Fix memory leak in rb_const_remove when using namespace
We need to free the rb_const_entry_t we remove from the RCLASS_WRITABLE_CONST_TBL
otherwise it will leak memory.1 parent 2f20dc5 commit 957c832
1 file changed
+10
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3533 | 3533 | | |
3534 | 3534 | | |
3535 | 3535 | | |
3536 | | - | |
| 3536 | + | |
| 3537 | + | |
3537 | 3538 | | |
3538 | 3539 | | |
3539 | 3540 | | |
3540 | 3541 | | |
3541 | 3542 | | |
3542 | 3543 | | |
3543 | 3544 | | |
| 3545 | + | |
| 3546 | + | |
| 3547 | + | |
| 3548 | + | |
| 3549 | + | |
| 3550 | + | |
| 3551 | + | |
| 3552 | + | |
3544 | 3553 | | |
3545 | 3554 | | |
3546 | 3555 | | |
| |||
0 commit comments