summaryrefslogtreecommitdiff
path: root/ext/com_dotnet/com_handlers.c
diff options
context:
space:
mode:
authorAnatol Belski <ab@php.net>2016-12-08 17:15:06 +0100
committerAnatol Belski <ab@php.net>2016-12-08 17:15:06 +0100
commit66ad7918b8e95e8e7d23ab67890f58d55aba5de2 (patch)
tree2fdc54bbeb4baf36cef89d120cf24188dad28467 /ext/com_dotnet/com_handlers.c
parenta4d6d16b3b33a8ad9f0a063498b0075d3e516494 (diff)
downloadphp-git-66ad7918b8e95e8e7d23ab67890f58d55aba5de2.tar.gz
fix uninitialized member
Diffstat (limited to 'ext/com_dotnet/com_handlers.c')
-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;
}