summaryrefslogtreecommitdiff
path: root/ext/com_dotnet/com_handlers.c
diff options
context:
space:
mode:
authorRob Richards <rrichards@php.net>2005-11-27 12:19:04 +0000
committerRob Richards <rrichards@php.net>2005-11-27 12:19:04 +0000
commit934e19107de20613cd9bb909d3806d19ce06ace8 (patch)
treef75647f1fe241c643f3cb9a7ac11ae77753d2e92 /ext/com_dotnet/com_handlers.c
parentc37b13e0db0288e9131c1e74d2882be0570f0c64 (diff)
downloadphp-git-934e19107de20613cd9bb909d3806d19ce06ace8.tar.gz
Fixed bug #35316 (Application exception trying to create COM object)
Diffstat (limited to 'ext/com_dotnet/com_handlers.c')
-rw-r--r--ext/com_dotnet/com_handlers.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/ext/com_dotnet/com_handlers.c b/ext/com_dotnet/com_handlers.c
index 1564924125..374f131d10 100644
--- a/ext/com_dotnet/com_handlers.c
+++ b/ext/com_dotnet/com_handlers.c
@@ -677,6 +677,7 @@ zend_object_value php_com_object_new(zend_class_entry *ce TSRMLS_DC)
VariantInit(&obj->v);
obj->code_page = CP_ACP;
obj->ce = ce;
+ obj->zo.ce = ce;
retval.handle = zend_objects_store_put(obj, NULL, php_com_object_free_storage, php_com_object_clone TSRMLS_CC);
retval.handlers = &php_com_object_handlers;