Merge pull request #8461 from haberman/ruby-arena-memory-leak
Fixed memory leak of Ruby arena objects.
This commit is contained in:
commit
1ed9a8b521
@ -180,6 +180,7 @@ static void Arena_mark(void *data) {
|
||||
static void Arena_free(void *data) {
|
||||
Arena *arena = data;
|
||||
upb_arena_free(arena->arena);
|
||||
xfree(arena);
|
||||
}
|
||||
|
||||
static VALUE cArena;
|
||||
|
Loading…
Reference in New Issue
Block a user