summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorXinchen Hui <laruence@gmail.com>2016-12-09 11:41:26 +0800
committerXinchen Hui <laruence@gmail.com>2016-12-09 11:41:26 +0800
commit4faa540b45fce018252cd00751d3a5002ad3d00a (patch)
tree8977f07289bea776d9f021cefa840c3481314ba8
parent68bdd6d0182efb58b975ce7057ea895e1de46697 (diff)
parentd46972b6aef607b239fc3db28633941705884ca7 (diff)
downloadphp-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.c2
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;
}