axis-c-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Senaka Fernando (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (AXIS2C-1035) In string util.c, once the first token is freed all other tokens if not equal to "", are automatically freed.
Date Mon, 03 Mar 2008 14:32:50 GMT

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

Senaka Fernando resolved AXIS2C-1035.
-------------------------------------

       Resolution: Fixed
    Fix Version/s: Current (Nightly)

Fixed Issue

> In string util.c, once the first token is freed all other tokens if not equal to "",
are automatically freed.
> -------------------------------------------------------------------------------------------------------------
>
>                 Key: AXIS2C-1035
>                 URL: https://issues.apache.org/jira/browse/AXIS2C-1035
>             Project: Axis2-C
>          Issue Type: Bug
>          Components: util
>    Affects Versions: 1.3.0
>            Reporter: Senaka Fernando
>            Assignee: Senaka Fernando
>             Fix For: Current (Nightly)
>
>
> In string util.c, once the first token is freed all other tokens if not equal to "",
are automatically freed. The "" not being freed is due to a strdup() being called in first_token
and last_token methods. We should rather create a new string per token and add it to the array
list. There by we can individually act of each token.

-- 
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: axis-c-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-c-dev-help@ws.apache.org


Mime
View raw message