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


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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to