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
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 is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]