gschlossnagle           Fri Mar 18 10:40:05 2005 EDT

  Modified files:              
    /php-src/ext/soap   php_schema.c 
  Log:
  doc should not be freed here, as it is used later in the code path.
  
  
  
  
http://cvs.php.net/diff.php/php-src/ext/soap/php_schema.c?r1=1.51&r2=1.52&ty=u
Index: php-src/ext/soap/php_schema.c
diff -u php-src/ext/soap/php_schema.c:1.51 php-src/ext/soap/php_schema.c:1.52
--- php-src/ext/soap/php_schema.c:1.51  Sun Sep 26 17:45:17 2004
+++ php-src/ext/soap/php_schema.c       Fri Mar 18 10:40:04 2005
@@ -17,7 +17,7 @@
   |          Dmitry Stogov <[EMAIL PROTECTED]>                             |
   +----------------------------------------------------------------------+
 */
-/* $Id: php_schema.c,v 1.51 2004/09/26 21:45:17 helly Exp $ */
+/* $Id: php_schema.c,v 1.52 2005/03/18 15:40:04 gschlossnagle Exp $ */
 
 #include "php_soap.h"
 #include "libxml/uri.h"
@@ -135,7 +135,6 @@
                        new_tns = get_attribute(schema->properties, 
"targetNamespace");
                        if (new_tns == NULL) {
                                if (tns != NULL) {
-                                       xmlFreeDoc(doc);
                                        xmlSetProp(schema, "targetNamespace", 
tns->children->content);
                                }
                        } else if (tns != NULL && 
strcmp(tns->children->content,new_tns->children->content) != 0) {

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

Reply via email to