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 "Senaka Fernando (JIRA)" <ji...@apache.org> on 2008/03/03 15:32:50 UTC

[jira] Resolved: (AXIS2C-1035) In string util.c, once the first token is freed all other tokens if not equal to "", are automatically freed.

     [ 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