commit | dd36b15315cd691e86a94d4574bd9f3e3a33633f | [log] [tgz] |
---|---|---|
author | Craig Tiller <ctiller@google.com> | Fri Mar 31 08:27:28 2017 -0700 |
committer | Craig Tiller <ctiller@google.com> | Fri Mar 31 08:27:28 2017 -0700 |
tree | 75bddf4bae42daf8b1c79eea61b678c31c0a20b4 | |
parent | 547631eaf89709ed2dcb30e9f8fdb617617c7aff [diff] [blame] |
Call ref/unref, bugfixes
diff --git a/src/cpp/client/client_context.cc b/src/cpp/client/client_context.cc index 3d884cf..2516232 100644 --- a/src/cpp/client/client_context.cc +++ b/src/cpp/client/client_context.cc
@@ -74,7 +74,7 @@ ClientContext::~ClientContext() { if (call_) { - grpc_call_destroy(call_); + grpc_call_unref(call_); } g_client_callbacks->Destructor(this); }