GPR Buffers need to be destroyed, not directly freed, otherwise it leaks reference counted backing slices.

pull/8790/head
Paul Querna 8 years ago
parent f7a75460ad
commit d907370fc8
  1. 2
      src/objective-c/GRPCClient/private/GRPCWrappedCall.m

@ -112,7 +112,7 @@
} }
- (void)dealloc { - (void)dealloc {
gpr_free(_op.data.send_message); grpc_byte_buffer_destroy(_op.data.send_message);
} }
@end @end

Loading…
Cancel
Save