From 66ad7918b8e95e8e7d23ab67890f58d55aba5de2 Mon Sep 17 00:00:00 2001 From: Anatol Belski Date: Thu, 8 Dec 2016 17:15:06 +0100 Subject: [PATCH] fix uninitialized member --- ext/com_dotnet/com_handlers.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ext/com_dotnet/com_handlers.c b/ext/com_dotnet/com_handlers.c index 5752a7d7057..12c82a41bcb 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; }