fix of a bit of memory leak

pull/22706/head
Hannah Shi 5 years ago
parent 6228e9100f
commit 6be41055b4
  1. 1
      src/php/ext/grpc/channel.c

@ -350,7 +350,6 @@ PHP_METHOD(Channel, __construct) {
1 TSRMLS_CC);
return;
} else {
Z_ADDREF(*creds_obj);
creds = PHP_GRPC_GET_WRAPPED_OBJECT(wrapped_grpc_channel_credentials,
creds_obj);
}

Loading…
Cancel
Save