[ 
https://issues.apache.org/jira/browse/AXIS2C-1585?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Bill Blough closed AXIS2C-1585.
-------------------------------
    Resolution: Won't Fix

> Double freeing pointers
> -----------------------
>
>                 Key: AXIS2C-1585
>                 URL: https://issues.apache.org/jira/browse/AXIS2C-1585
>             Project: Axis2-C
>          Issue Type: Improvement
>          Components: util
>            Reporter: Michael Tyler
>            Priority: Major
>              Labels: api-change, features, patch
>
> I believe that most of double freeing of pointer core dump issues can simple 
> by resolved by altering the axutil_allocator_free_impl function
> change 
> void AXIS2_CALL
> axutil_allocator_free_impl(
>     axutil_allocator_t * allocator,
>     void *ptr)
> {
>     free(ptr);
> }
> to 
> void AXIS2_CALL
> axutil_allocator_free_impl(
>     axutil_allocator_t * allocator,
>     void *ptr)
> {
>     free(ptr);
>     ptr = NULL;
> }



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: c-dev-unsubscr...@axis.apache.org
For additional commands, e-mail: c-dev-h...@axis.apache.org

Reply via email to