You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by sa...@apache.org on 2007/04/01 06:59:27 UTC

svn commit: r524531 - in /webservices/axis2/trunk/c/axiom: include/axiom_xml_writer.h src/parser/libxml2/libxml2_reader_wrapper.c src/parser/libxml2/libxml2_writer_wrapper.c

Author: samisa
Date: Sat Mar 31 21:59:27 2007
New Revision: 524531

URL: http://svn.apache.org/viewvc?view=rev&rev=524531
Log:
Fixed Linux build breaks

Modified:
    webservices/axis2/trunk/c/axiom/include/axiom_xml_writer.h
    webservices/axis2/trunk/c/axiom/src/parser/libxml2/libxml2_reader_wrapper.c
    webservices/axis2/trunk/c/axiom/src/parser/libxml2/libxml2_writer_wrapper.c

Modified: webservices/axis2/trunk/c/axiom/include/axiom_xml_writer.h
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/axiom/include/axiom_xml_writer.h?view=diff&rev=524531&r1=524530&r2=524531
==============================================================================
--- webservices/axis2/trunk/c/axiom/include/axiom_xml_writer.h (original)
+++ webservices/axis2/trunk/c/axiom/include/axiom_xml_writer.h Sat Mar 31 21:59:27 2007
@@ -459,7 +459,7 @@
 
     struct axiom_xml_writer
     {
-        axiom_xml_writer_ops_t *ops;
+        const axiom_xml_writer_ops_t *ops;
     };
 
     /**

Modified: webservices/axis2/trunk/c/axiom/src/parser/libxml2/libxml2_reader_wrapper.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/axiom/src/parser/libxml2/libxml2_reader_wrapper.c?view=diff&rev=524531&r1=524530&r2=524531
==============================================================================
--- webservices/axis2/trunk/c/axiom/src/parser/libxml2/libxml2_reader_wrapper.c (original)
+++ webservices/axis2/trunk/c/axiom/src/parser/libxml2/libxml2_reader_wrapper.c Sat Mar 31 21:59:27 2007
@@ -469,11 +469,6 @@
         xmlTextReaderClose(AXIS2_INTF_TO_IMPL(parser)->reader);
         xmlFreeTextReader(AXIS2_INTF_TO_IMPL(parser)->reader);
     }
-    if (parser->ops)
-    {
-        AXIS2_FREE(env->allocator, parser->ops);
-        parser->ops = NULL;
-    }
     AXIS2_FREE(env->allocator, AXIS2_INTF_TO_IMPL(parser));
     return;
 }

Modified: webservices/axis2/trunk/c/axiom/src/parser/libxml2/libxml2_writer_wrapper.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/axiom/src/parser/libxml2/libxml2_writer_wrapper.c?view=diff&rev=524531&r1=524530&r2=524531
==============================================================================
--- webservices/axis2/trunk/c/axiom/src/parser/libxml2/libxml2_writer_wrapper.c (original)
+++ webservices/axis2/trunk/c/axiom/src/parser/libxml2/libxml2_writer_wrapper.c Sat Mar 31 21:59:27 2007
@@ -518,11 +518,6 @@
         uri_prefix_element_free(writer_impl->default_lang_namespace, env);
         writer_impl->default_lang_namespace = NULL;
     }
-    if (writer->ops)
-    {
-        AXIS2_FREE(env->allocator, writer->ops);
-        writer->ops = NULL;
-    }
 
     AXIS2_FREE(env->allocator, writer_impl);
     writer_impl = NULL;



---------------------------------------------------------------------
To unsubscribe, e-mail: axis-cvs-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-cvs-help@ws.apache.org