Merge pull request #14159 from ZhouyihaiDing/pr_call_array_leak

php: fix grpc_parse_metadata_array leak
pull/14157/head
Stanley Cheung 7 years ago committed by GitHub
commit 5e7eed29ed
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 1
      src/php/ext/grpc/call.c

@ -99,6 +99,7 @@ zval *grpc_parse_metadata_array(grpc_metadata_array
1 TSRMLS_CC);
efree(str_key);
efree(str_val);
PHP_GRPC_FREE_STD_ZVAL(array);
return NULL;
}
php_grpc_add_next_index_stringl(data, str_val,

Loading…
Cancel
Save