[ http://issues.apache.org/jira/browse/AXISCPP-626?page=all ]

Dushshantha Chandradasa reassigned AXISCPP-626:
-----------------------------------------------

    Assign To: Dushshantha Chandradasa

> Allocation/Deallocation mismatch
> --------------------------------
>
>          Key: AXISCPP-626
>          URL: http://issues.apache.org/jira/browse/AXISCPP-626
>      Project: Axis-C++
>         Type: Bug
>   Components: Client - Engine
>     Versions: 1.5 Final
>  Environment: Linux RHEL3
>     Reporter: Carsten Blecken
>     Assignee: Dushshantha Chandradasa
>     Priority: Minor

>
> There is an alloc/delete mismatch in ClientAxisEngine. Since it is a built in 
> type
> this is only a minor problem.
>                               if( strchr( pchService, '#') == NULL)
>                               {
> // If there is no # seperator, then strip off the outer quotes.
>                                       int             iStringLength = strlen( 
> pchService);
>                                       char *  pszService = new 
> char[iStringLength];
>                                       memset( pszService, 0, iStringLength);
>                                       memcpy( pszService, pchService + 1, 
> iStringLength - 2);
>                               pService = g_pWSDDDeployment->getService( 
> pszService);
>                                       delete pszService;  <-- should be 
> delete [] pszService;
>                               }

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira

Reply via email to