]> granicus.if.org Git - php/commitdiff
killed warning + added reminder
authorThies C. Arntzen <thies@php.net>
Thu, 23 Dec 1999 12:52:12 +0000 (12:52 +0000)
committerThies C. Arntzen <thies@php.net>
Thu, 23 Dec 1999 12:52:12 +0000 (12:52 +0000)
TODO
ext/xml/xml.c

diff --git a/TODO b/TODO
index 3bfc5c6301a2b3bc7fb733f76343c4643a9746a3..450d69bb795c6a8b0acc8467f45cc262bf298578 100644 (file)
--- a/TODO
+++ b/TODO
@@ -3,6 +3,8 @@ parenthesis means that person has taken on this project.
 
 global
 ------
+    * make sure that all ZTS globals get destructed. Most ts_allocate_id()
+      calls should have a dtor entry.
     * activate all extensions by default that don't rely on external
       dependices. (eg ftp)
     * --enable-all in configure. (--enable-shared=max ...)
index b560b94b8cde6f83af163410ca1622bbe2ede172..0653ace998744480e3082d37e2babb01d5db36b4 100644 (file)
@@ -164,7 +164,7 @@ PHP_MINIT_FUNCTION(xml)
        le_xml_parser = register_list_destructors(xml_parser_dtor, NULL);
 
 #ifdef ZTS
-       xml_globals_id = ts_allocate_id(sizeof(php_xml_globals), php_xml_init_globals, NULL);
+       xml_globals_id = ts_allocate_id(sizeof(php_xml_globals), (ts_allocate_ctor) php_xml_init_globals, NULL);
 #else
        XML(default_encoding) = "ISO-8859-1";
 #endif