hi Carsten,

are you a committer yet?


----- Forwarded by John Hawkins/UK/IBM on 21/04/2005 08:04 -----
"Carsten Blecken (JIRA)" <[email protected]>

21/04/2005 02:42

Please respond to
"Apache AXIS C Developers List"

To
[email protected]
cc
Subject
[jira] Created: (AXISCPP-626) Allocation/Deallocation mismatch





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
   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