commit | b23c86bcd7f63ef0d0455ab9e9c87b7e93f3eb35 | [log] [tgz] |
---|---|---|
author | Jorge Canizales <jcanizales@google.com> | Mon Dec 05 12:47:29 2016 -0800 |
committer | GitHub <noreply@github.com> | Mon Dec 05 12:47:29 2016 -0800 |
tree | a70f3b6f4c39141e7cdd0e44e1ae0137640e44ae | |
parent | 032ca47012f23aecc7c7bf7f1cc9d998145119d9 [diff] | |
parent | d907370fc82a7991a24bb0dcbaf962acd319428a [diff] |
Merge pull request #8790 from pquerna/objc_fix_leak_of_buffer Objective-C: Fix memory leak of every message sent
diff --git a/src/objective-c/GRPCClient/private/GRPCWrappedCall.m b/src/objective-c/GRPCClient/private/GRPCWrappedCall.m index 627b6aa..38fcae0 100644 --- a/src/objective-c/GRPCClient/private/GRPCWrappedCall.m +++ b/src/objective-c/GRPCClient/private/GRPCWrappedCall.m
@@ -112,7 +112,7 @@ } - (void)dealloc { - gpr_free(_op.data.send_message); + grpc_byte_buffer_destroy(_op.data.send_message); } @end