diff options
author | 2016-01-05 09:57:44 -0800 | |
---|---|---|
committer | 2016-01-05 09:57:44 -0800 | |
commit | f58404e1d5ee614e70d216d285f90970abfde5c8 (patch) | |
tree | 5f11bd24924e53886c3fc8ca4cadfab18178a6b2 /src | |
parent | 9b83bd7c95b76c883e494214197ad06ceb3858b7 (diff) |
Free what we alloc
Diffstat (limited to 'src')
-rw-r--r-- | src/ruby/ext/grpc/rb_call_credentials.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/ruby/ext/grpc/rb_call_credentials.c b/src/ruby/ext/grpc/rb_call_credentials.c index 1799940468..4d719d7541 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( |