axis-c-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Olivier Mengué (JIRA) <j...@apache.org>
Subject [jira] Created: (AXIS2C-1446) axutil_hash_copy() issues
Date Tue, 02 Feb 2010 15:08:20 GMT
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.


Mime
View raw message