Changeset 504 for trunk


Ignore:
Timestamp:
Sep 22, 2014, 6:59:41 PM (10 years ago)
Author:
djay
Message:

Remove debug messages and fix to free corig when needed.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/zoo-project/zoo-kernel/zoo_service_loader.c

    r503 r504  
    10291029            scount++;
    10301030            hasVal=1;
     1031            setMapInMaps(m,"lenv","level","0");
    10311032          }else{
    10321033            memset(buff,0,256);
    10331034            snprintf(buff,256,"%s.zcfg",corig);
    1034             free(corig);
    10351035            memset(buff1,0,1024);
    10361036#ifdef DEBUG
     
    10921092              sprintf(tmp01,_("Unable to parse the ZCFG file: %s."),buff);
    10931093            dup2(saved_stdout,fileno(stdout));
    1094             dumpMaps(m);
    10951094            errorException(m, tmp01,"InvalidParameterValue","Identifier");
    10961095            freeMaps(&m);
     
    11041103            return 1;
    11051104          }
    1106           free(corig);
    11071105          rewinddir(dirp);
    11081106          tmps=strtok_r(NULL,",",&saveptr);
     1107          if(corig!=NULL)
     1108            free(corig);
    11091109        }
    11101110      }
Note: See TracChangeset for help on using the changeset viewer.

Search

Context Navigation

ZOO Sponsors

http://www.zoo-project.org/trac/chrome/site/img/geolabs-logo.pnghttp://www.zoo-project.org/trac/chrome/site/img/neogeo-logo.png http://www.zoo-project.org/trac/chrome/site/img/apptech-logo.png http://www.zoo-project.org/trac/chrome/site/img/3liz-logo.png http://www.zoo-project.org/trac/chrome/site/img/gateway-logo.png

Become a sponsor !

Knowledge partners

http://www.zoo-project.org/trac/chrome/site/img/ocu-logo.png http://www.zoo-project.org/trac/chrome/site/img/gucas-logo.png http://www.zoo-project.org/trac/chrome/site/img/polimi-logo.png http://www.zoo-project.org/trac/chrome/site/img/fem-logo.png http://www.zoo-project.org/trac/chrome/site/img/supsi-logo.png http://www.zoo-project.org/trac/chrome/site/img/cumtb-logo.png

Become a knowledge partner

Related links

http://zoo-project.org/img/ogclogo.png http://zoo-project.org/img/osgeologo.png