diff options
author | Xinchen Hui <laruence@gmail.com> | 2016-12-09 11:41:26 +0800 |
---|---|---|
committer | Xinchen Hui <laruence@gmail.com> | 2016-12-09 11:41:26 +0800 |
commit | 4faa540b45fce018252cd00751d3a5002ad3d00a (patch) | |
tree | 8977f07289bea776d9f021cefa840c3481314ba8 | |
parent | 68bdd6d0182efb58b975ce7057ea895e1de46697 (diff) | |
parent | d46972b6aef607b239fc3db28633941705884ca7 (diff) | |
download | php-git-4faa540b45fce018252cd00751d3a5002ad3d00a.tar.gz |
Merge branch 'PHP-7.1' of git.php.net:/php-src into PHP-7.1
* 'PHP-7.1' of git.php.net:/php-src:
fix uninitialized member
-rw-r--r-- | ext/com_dotnet/com_handlers.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ext/com_dotnet/com_handlers.c b/ext/com_dotnet/com_handlers.c index 5752a7d705..12c82a41bc 100644 --- a/ext/com_dotnet/com_handlers.c +++ b/ext/com_dotnet/com_handlers.c @@ -656,5 +656,7 @@ zend_object* php_com_object_new(zend_class_entry *ce) zend_object_std_init(&obj->zo, ce); obj->zo.handlers = &php_com_object_handlers; + obj->typeinfo = NULL; + return (zend_object*)obj; } |