You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-dev@axis.apache.org by "Damitha Kumarage (JIRA)" <ji...@apache.org> on 2010/06/29 08:37:51 UTC

[jira] Resolved: (AXIS2C-1446) axutil_hash_copy() issues

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

Damitha Kumarage resolved AXIS2C-1446.
--------------------------------------

    Resolution: Fixed

Added to the api documentation to point the issue

> axutil_hash_copy() issues
> -------------------------
>
>                 Key: AXIS2C-1446
>                 URL: https://issues.apache.org/jira/browse/AXIS2C-1446
>             Project: Axis2-C
>          Issue Type: Wish
>          Components: util
>    Affects Versions: 1.6.0, Current (Nightly)
>            Reporter: Olivier Mengué
>            Priority: Trivial
>
> The axutil_hash_copy() function in util/hash.c has several issues:
> - it should be documented that it should be used only read only and not freed with axutil_hash_free() but instead with AXIS2_FREE().
> - the allocated structure is one block, but may not respect alignment rules of the platform.
> In its current state, its usage is discouraged.
> Currently (1.6.0) it is not used in the code base, so that is a minor problem.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


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