zeev            Mon Aug 18 16:45:00 2003 EDT

  Modified files:              
    /php-src/ext/com_dotnet     com_extension.c 
  Log:
  Fix leak - non persistent hashes cannot be used in MINIT!
  
  
Index: php-src/ext/com_dotnet/com_extension.c
diff -u php-src/ext/com_dotnet/com_extension.c:1.1 
php-src/ext/com_dotnet/com_extension.c:1.2
--- php-src/ext/com_dotnet/com_extension.c:1.1  Thu Aug 14 12:49:55 2003
+++ php-src/ext/com_dotnet/com_extension.c      Mon Aug 18 16:45:00 2003
@@ -16,7 +16,7 @@
    +----------------------------------------------------------------------+
  */
 
-/* $Id: com_extension.c,v 1.1 2003/08/14 16:49:55 wez Exp $ */
+/* $Id: com_extension.c,v 1.2 2003/08/18 20:45:00 zeev Exp $ */
 
 #ifdef HAVE_CONFIG_H
 #include "config.h"
@@ -118,7 +118,7 @@
        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);



-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to