diff options
author | Zeev Suraski <zeev@php.net> | 2003-08-18 20:45:00 +0000 |
---|---|---|
committer | Zeev Suraski <zeev@php.net> | 2003-08-18 20:45:00 +0000 |
commit | e404e1d0fe94ee3b56a92eae57fe97d667a848b7 (patch) | |
tree | e0b930fc0b3872f6e3d7a29b2ff55723d7eca8fe /ext/com_dotnet | |
parent | 76aaeebdf09ddfa2b00c3a6be1d53b09de661071 (diff) | |
download | php-git-e404e1d0fe94ee3b56a92eae57fe97d667a848b7.tar.gz |
Fix leak - non persistent hashes cannot be used in MINIT!
Diffstat (limited to 'ext/com_dotnet')
-rw-r--r-- | ext/com_dotnet/com_extension.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/com_dotnet/com_extension.c b/ext/com_dotnet/com_extension.c index 7ed2d98407..3ba68e6b2f 100644 --- a/ext/com_dotnet/com_extension.c +++ b/ext/com_dotnet/com_extension.c @@ -118,7 +118,7 @@ PHP_MINIT_FUNCTION(com_dotnet) ce.create_object = php_com_object_new; zend_register_internal_class_ex(&ce, php_com_variant_class_entry, "variant" TSRMLS_CC); - zend_ts_hash_init(&php_com_typelibraries, 0, NULL, php_com_typelibrary_dtor, 0); + zend_ts_hash_init(&php_com_typelibraries, 0, NULL, php_com_typelibrary_dtor, 1); #if HAVE_MSCOREE_H INIT_CLASS_ENTRY(ce, "dotnet", NULL); |