axis-c-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dushshantha Chandradasa (JIRA)" <axis-c-...@ws.apache.org>
Subject [jira] Created: (AXISCPP-414) Potential memory leaks in readConfFile () function of class AxisConfig
Date Wed, 09 Feb 2005 10:18:12 GMT
Potential memory leaks in readConfFile () function of class AxisConfig
----------------------------------------------------------------------

         Key: AXISCPP-414
         URL: http://issues.apache.org/jira/browse/AXISCPP-414
     Project: Axis-C++
        Type: Improvement
  Components: Basic Architecture  
    Versions: 1.5 Alpha    
 Environment: Windows
    Reporter: Dushshantha Chandradasa
    Priority: Minor


Its better to initialize pcValue to null when it defines.


int AxisConfig::readConfFile ()
{
    char carrLine[CONFBUFFSIZE];
    char *pcValue;
    //char *pcValue = NULL;

    AxisFile fileConfig;	/*AxisFile is AxisC++ resource for file manipulation */
    char *sConfPath = NULL;





-- 
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
-
If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


Mime
View raw message