On 13/01/17 09:37, Dmitry Stogov wrote:
> Commit:    141d1ba9801f742dc5d9ccd06e02b94284c4deb7
> Author:    Dmitry Stogov <dmi...@zend.com>         Fri, 13 Jan 2017 11:37:46 
> +0300
> Parents:   28391c30ca008013267592ab2a2eebce3da3f3b0
> Branches:  master
> 
> Link:       
> http://git.php.net/?p=php-src.git;a=commitdiff;h=141d1ba9801f742dc5d9ccd06e02b94284c4deb7

Hi Dmitry!

Maybe I'm missing something, but it seems that reallocated arg_infos leak:

$ memcheck sapi/cli/php -v
...
...
==16031==    by 0x8BA068: zend_register_functions (zend_API.c:2273)
...
...
==16031== LEAK SUMMARY:
==16031==    definitely lost: 3,888 bytes in 57 blocks
...

Each leak references line 2273 in zend_API.c pointing to this commit.

> Log:
> Introduced "zend_type" - an abstraction for type-hinting representation.
> 
> Changed paths:
>   M  Zend/zend_API.c
>   M  Zend/zend_API.h
>   M  Zend/zend_builtin_functions.c
>   M  Zend/zend_compile.c
>   M  Zend/zend_compile.h
>   M  Zend/zend_execute.c
>   M  Zend/zend_inheritance.c
>   M  Zend/zend_opcode.c
>   M  Zend/zend_types.h
>   M  Zend/zend_vm_def.h
>   M  Zend/zend_vm_execute.h
>   M  ext/com_dotnet/com_handlers.c
>   M  ext/opcache/Optimizer/dfa_pass.c
>   M  ext/opcache/Optimizer/zend_inference.c
>   M  ext/opcache/Optimizer/zend_optimizer.c
>   M  ext/opcache/ZendAccelerator.c
>   M  ext/opcache/zend_file_cache.c
>   M  ext/opcache/zend_persist.c
>   M  ext/opcache/zend_persist_calc.c
>   M  ext/reflection/php_reflection.c
> 
> 
> 


-- 
Regards,
Mike

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to