Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:597 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 63634 invoked from network); 2 Apr 2003 10:19:38 -0000 Received: from unknown (HELO mail.digarc.com) (216.204.113.51) by pb1.pair.com with SMTP; 2 Apr 2003 10:19:38 -0000 Received: from ctd01 (dsta-aa203.pivot.net [66.186.171.203]) by mail.digarc.com (8.11.6/8.11.2) with SMTP id h32C5GE22009 for ; Wed, 2 Apr 2003 07:05:16 -0500 Message-ID: <007901c2f901$fc56ddb0$06dea8c0@cyberware.local> To: "php-dev" References: <1048001497.1516.3.camel@localhost.localdomain> <001901c2ed6f$b3be6f70$0301a8c0@TRABAJOS2> <016701c2f156$f6d83080$06dea8c0@cyberware.local> <004001c2f704$ceee0370$06dea8c0@cyberware.local> <20030331181825.GB32131@schnuffel.thieso.net> <02bf01c2f7b8$4530bba0$06dea8c0@cyberware.local> Date: Wed, 2 Apr 2003 05:24:03 -0500 MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_NextPart_000_0076_01C2F8D8.130E3DC0" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1106 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 Subject: patch for domxml From: rrichards@digarc.com ("Rob Richards") ------=_NextPart_000_0076_01C2F8D8.130E3DC0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit This patch fixes Bug #22774 PHP crashes when exiting. All it does is move the registration of the php_free_xml_doc destructor to the end of the list, so it is called after destroying nodes and attributes in the instances where the domxml extension is loaded via a dl() call. It seems the only time that the order of destructors matters is in the event of being loaded by dl(). Thanks, Rob ------=_NextPart_000_0076_01C2F8D8.130E3DC0--