You are viewing a plain text version of this content. The canonical link for it is here.
Posted to axis-cvs@ws.apache.org by pi...@apache.org on 2007/12/04 10:47:17 UTC

svn commit: r600856 - /webservices/axis2/trunk/c/axiom/src/om/om_stax_builder.c

Author: pini
Date: Tue Dec  4 01:47:17 2007
New Revision: 600856

URL: http://svn.apache.org/viewvc?rev=600856&view=rev
Log:
Fixing jira issue 800

Modified:
    webservices/axis2/trunk/c/axiom/src/om/om_stax_builder.c

Modified: webservices/axis2/trunk/c/axiom/src/om/om_stax_builder.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/axiom/src/om/om_stax_builder.c?rev=600856&r1=600855&r2=600856&view=diff
==============================================================================
--- webservices/axis2/trunk/c/axiom/src/om/om_stax_builder.c (original)
+++ webservices/axis2/trunk/c/axiom/src/om/om_stax_builder.c Tue Dec  4 01:47:17 2007
@@ -461,10 +461,19 @@
             return AXIS2_FAILURE;
         }
     }
+#ifdef WIN32
     if (temp_prefix)
     {
         axiom_xml_reader_xml_free(om_builder->parser, env, temp_prefix);
     }
+#else 
+	if(temp_prefix)
+	{
+		AXIS2_FREE(env->allocator,temp_prefix);
+	}
+#endif 
+
+			
     return status;
 }
 
@@ -615,9 +624,13 @@
     }
 
     om_builder->element_level++;
+#ifdef WIN32
     axiom_xml_reader_xml_free(om_builder->parser, env, comment_value);
+#else
+	AXIS2_FREE(env->allocator,comment_value);
+#endif 
 
-    om_builder->lastnode = comment_node;
+	om_builder->lastnode = comment_node;
 
     return comment_node;
 }



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