GCC xelement patch --- php-4.3.11/ext/xmlrpc/libxmlrpc/xml_element.c.jim 2006-01-29 16:07:39.000000000 -0600 +++ php-4.3.11/ext/xmlrpc/libxmlrpc/xml_element.c 2006-01-29 16:09:16.000000000 -0600 @@ -188,7 +188,11 @@ Q_Destroy(&root->children); Q_Destroy(&root->attrs); - my_free((char*)root->name); +// my_free((char*)root->name); + if (root->name) { + free((char *)root->name); + root->name = NULL; + } simplestring_free(&root->text); my_free(root); }