Merge pull request #22706 from HannahShiSFB/fix-mem-leak

PHP: fix of a bit of memory leak
reviewable/pr21361/r16^2
Stanley Cheung 5 years ago committed by GitHub
commit 3c4096e0e0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  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