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.

Reply via email to