Changeset 504 for trunk/zoo-project/zoo-kernel
- Timestamp:
- Sep 22, 2014, 6:59:41 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/zoo-project/zoo-kernel/zoo_service_loader.c
r503 r504 1029 1029 scount++; 1030 1030 hasVal=1; 1031 setMapInMaps(m,"lenv","level","0"); 1031 1032 }else{ 1032 1033 memset(buff,0,256); 1033 1034 snprintf(buff,256,"%s.zcfg",corig); 1034 free(corig);1035 1035 memset(buff1,0,1024); 1036 1036 #ifdef DEBUG … … 1092 1092 sprintf(tmp01,_("Unable to parse the ZCFG file: %s."),buff); 1093 1093 dup2(saved_stdout,fileno(stdout)); 1094 dumpMaps(m);1095 1094 errorException(m, tmp01,"InvalidParameterValue","Identifier"); 1096 1095 freeMaps(&m); … … 1104 1103 return 1; 1105 1104 } 1106 free(corig);1107 1105 rewinddir(dirp); 1108 1106 tmps=strtok_r(NULL,",",&saveptr); 1107 if(corig!=NULL) 1108 free(corig); 1109 1109 } 1110 1110 }
Note: See TracChangeset
for help on using the changeset viewer.