diff options
author | Craig Tiller <ctiller@google.com> | 2017-03-31 08:27:28 -0700 |
---|---|---|
committer | Craig Tiller <ctiller@google.com> | 2017-03-31 08:27:28 -0700 |
commit | dd36b15315cd691e86a94d4574bd9f3e3a33633f (patch) | |
tree | 75bddf4bae42daf8b1c79eea61b678c31c0a20b4 /src/php | |
parent | 547631eaf89709ed2dcb30e9f8fdb617617c7aff (diff) |
Call ref/unref, bugfixes
Diffstat (limited to 'src/php')
-rw-r--r-- | src/php/ext/grpc/call.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/php/ext/grpc/call.c b/src/php/ext/grpc/call.c index 48a374fa08..d3fd88416b 100644 --- a/src/php/ext/grpc/call.c +++ b/src/php/ext/grpc/call.c @@ -65,7 +65,7 @@ static zend_object_handlers call_ce_handlers; /* Frees and destroys an instance of wrapped_grpc_call */ PHP_GRPC_FREE_WRAPPED_FUNC_START(wrapped_grpc_call) if (p->owned && p->wrapped != NULL) { - grpc_call_destroy(p->wrapped); + grpc_call_unref(p->wrapped); } PHP_GRPC_FREE_WRAPPED_FUNC_END() |