summaryrefslogtreecommitdiff
path: root/ext/com_dotnet/com_handlers.c
diff options
context:
space:
mode:
authorDmitry Stogov <dmitry@php.net>2006-11-17 11:40:52 +0000
committerDmitry Stogov <dmitry@php.net>2006-11-17 11:40:52 +0000
commitc06f9e1efe5375abcbb507876e04e893885e4ade (patch)
tree1fec799294f4e5db9b88dcbaa46f62aa6a6886a4 /ext/com_dotnet/com_handlers.c
parentcb4b75f155950d57979c5c69c37e78d46f60d3d7 (diff)
downloadphp-git-c06f9e1efe5375abcbb507876e04e893885e4ade.tar.gz
COM initialization/deinitialization are done only if necessary
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 12628098d6..a422b32041 100644
--- a/ext/com_dotnet/com_handlers.c
+++ b/ext/com_dotnet/com_handlers.c
@@ -664,6 +664,7 @@ zend_object_value php_com_object_new(zend_class_entry *ce TSRMLS_DC)
php_com_dotnet_object *obj;
zend_object_value retval;
+ php_com_initialize(TSRMLS_C);
obj = emalloc(sizeof(*obj));
memset(obj, 0, sizeof(*obj));