Skip to content
Snippets Groups Projects
Commit 1cc43d05 authored by apolcyn's avatar apolcyn Committed by GitHub
Browse files

Merge pull request #13077 from apolcyn/backport_13047

Backport 13047 to 1.7.x
parents 65112378 41bdeff8
No related branches found
No related tags found
No related merge requests found
...@@ -221,6 +221,7 @@ static VALUE grpc_rb_call_close(VALUE self) { ...@@ -221,6 +221,7 @@ static VALUE grpc_rb_call_close(VALUE self) {
TypedData_Get_Struct(self, grpc_rb_call, &grpc_call_data_type, call); TypedData_Get_Struct(self, grpc_rb_call, &grpc_call_data_type, call);
if (call != NULL) { if (call != NULL) {
destroy_call(call); destroy_call(call);
xfree(RTYPEDDATA_DATA(self));
RTYPEDDATA_DATA(self) = NULL; RTYPEDDATA_DATA(self) = NULL;
} }
return Qnil; return Qnil;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment