Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:6781 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 70536 invoked by uid 1010); 4 Jan 2004 18:16:35 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 70467 invoked from network); 4 Jan 2004 18:16:35 -0000 Received: from unknown (HELO web13425.mail.yahoo.com) (216.136.175.156) by pb1.pair.com with SMTP; 4 Jan 2004 18:16:35 -0000 Message-ID: <20040104181634.60268.qmail@web13425.mail.yahoo.com> Received: from [24.215.131.184] by web13425.mail.yahoo.com via HTTP; Sun, 04 Jan 2004 10:16:34 PST Date: Sun, 4 Jan 2004 10:16:34 -0800 (PST) To: internals@lists.php.net MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: MFH Request for Zend.c From: msisolak@yahoo.com (Michael Sisolak) In the ZendEngine2 zend_shutdown() the GLOBAL_CONSTANTS_TABLE is correctly destroyed and freed: #ifdef ZTS . . . zend_hash_destroy(GLOBAL_CONSTANTS_TABLE); free(GLOBAL_CONSTANTS_TABLE); . . . #endif Can this to MFHed into the PHP 4.3.x zend.c (where the GLOBAL_CONSTANTS_TABLE is currently not getting freed on thread shutdown) so that the bottom of zend_shutdown() looks like: #ifndef ZTS zend_shutdown_constants(); #else zend_hash_destroy(GLOBAL_CONSTANTS_TABLE); free(GLOBAL_CONSTANTS_TABLE); #endif Michael Sisolak msisolak@yahoo.com __________________________________ Do you Yahoo!? Free Pop-Up Blocker - Get it now http://companion.yahoo.com/