cvs: php-src /ext/soap php_schema.c

From: Date: Fri, 18 Mar 2005 15:40:05 +0000
Subject: cvs: php-src /ext/soap php_schema.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-30995@lists.php.net to get a copy of this message
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 <dmitry@zend.com> | +----------------------------------------------------------------------+ */ -/* $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) {

« previous php.cvs (#30995) next »