On Thu, Jan 14, 2010 at 8:45 AM, Brody Lodmell <brodylodm...@gmail.com>wrote:

hi Brody,
I think your question is related to axiom/c. This list is for axiom/java
discussion. You'll probably need to ask this form axis2/c dev list.  You can
free the memory using the AXIS2_FREE macro. Take a look at the echo.c
sample.

Rajika

so the function
>    AXIS2_EXTERN axis2_char_t *AXIS2_CALL
>    axiom_node_to_string(
>        axiom_node_t * om_node,
>        const axutil_env_t * env);
>
> returns a pointer to new data every time it is called.
>
> how is this memory freed?
>
> when I do a free() on the memory returned from this I get an error :
> "Windows has triggered a breakpoint in appname.exe.
>
> This may be due to a corruption of the heap, and indicates a bug in
> appname.exe or any of the DLLs it has loaded."
>

Reply via email to