commit | 1ed9a8b521af5f4e23972757411a9e30c3136d13 | [log] [tgz] |
---|---|---|
author | Joshua Haberman <jhaberman@gmail.com> | Wed Apr 07 11:25:42 2021 -0700 |
committer | GitHub <noreply@github.com> | Wed Apr 07 11:25:42 2021 -0700 |
tree | 9b5c70e9db314009c7079e2067eecc4d0c6f6e5d | |
parent | 878be3569eaa552d45f50406b410c80da5e70447 [diff] | |
parent | 67fee915e01a35d86e73634441af256f386f60b0 [diff] |
Merge pull request #8461 from haberman/ruby-arena-memory-leak Fixed memory leak of Ruby arena objects.
diff --git a/ruby/ext/google/protobuf_c/protobuf.c b/ruby/ext/google/protobuf_c/protobuf.c index 65263a4..490cda6 100644 --- a/ruby/ext/google/protobuf_c/protobuf.c +++ b/ruby/ext/google/protobuf_c/protobuf.c
@@ -180,6 +180,7 @@ static void Arena_free(void *data) { Arena *arena = data; upb_arena_free(arena->arena); + xfree(arena); } static VALUE cArena;