Merge pull request #8461 from haberman/ruby-arena-memory-leak

Fixed memory leak of Ruby arena objects.
This commit is contained in:
Joshua Haberman 2021-04-07 11:25:42 -07:00 committed by GitHub
commit 1ed9a8b521
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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;