diff options
author | Zhouyihai Ding <ddyihai@google.com> | 2018-01-23 20:38:02 -0800 |
---|---|---|
committer | Zhouyihai Ding <ddyihai@google.com> | 2018-01-23 20:38:02 -0800 |
commit | b0821f0c8b2a2ee25e2f84c31c1c344b063b73ad (patch) | |
tree | 4392901bcf7a2da85fd5ad47374d7c81a80b3aab /src/php/ext | |
parent | 1d8ab5a9165717b93255336b6d1b25174f7d998c (diff) |
php: fix grpc_parse_metadata_array leak
Diffstat (limited to 'src/php/ext')
-rw-r--r-- | src/php/ext/grpc/call.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/php/ext/grpc/call.c b/src/php/ext/grpc/call.c index 9c0f3f8a91..e883537c64 100644 --- a/src/php/ext/grpc/call.c +++ b/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, |