From f58404e1d5ee614e70d216d285f90970abfde5c8 Mon Sep 17 00:00:00 2001 From: murgatroid99 Date: Tue, 5 Jan 2016 09:57:44 -0800 Subject: [PATCH] Free what we alloc --- src/ruby/ext/grpc/rb_call_credentials.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/ruby/ext/grpc/rb_call_credentials.c b/src/ruby/ext/grpc/rb_call_credentials.c index 17999404683..4d719d75417 100644 --- a/src/ruby/ext/grpc/rb_call_credentials.c +++ b/src/ruby/ext/grpc/rb_call_credentials.c @@ -115,6 +115,7 @@ static void grpc_rb_call_credentials_callback_with_gil(void *param) { params->callback(params->user_data, md_ary.metadata, md_ary.count, status, error_details); grpc_metadata_array_destroy(&md_ary); + gpr_free(params); } static void grpc_rb_call_credentials_plugin_get_metadata(