Changeset 385 for trunk/zoo-project/zoo-kernel/zoo_service_loader.c
- Timestamp:
- Jan 10, 2013, 3:39:16 AM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/zoo-project/zoo-kernel/zoo_service_loader.c
r384 r385 561 561 char conf_file[10240]; 562 562 snprintf(conf_file,10240,"%s/%s/main.cfg",ntmp,r_inputs->value); 563 conf_read(conf_file,m); 563 if(conf_read(conf_file,m)==2){ 564 errorException(NULL, _("Unable to load the main.cfg file."),"InternalError"); 565 free(m); 566 return 1; 567 } 564 568 #ifdef DEBUG 565 569 fprintf(stderr, "***** BEGIN MAPS\n"); … … 635 639 freeMap(&request_inputs); 636 640 free(request_inputs); 637 free(REQUEST);638 641 return 1; 639 642 } … … 838 841 free(SERVICE_URL); 839 842 fflush(stdout); 840 #ifndef LINUX_FREE_ISSUE841 if(s1)842 free(s1);843 #endif844 843 return 0; 845 844 } … … 851 850 #endif 852 851 closedir(dirp); 852 freeMaps(&m); 853 free(m); 854 free(REQUEST); 855 free(SERVICE_URL); 856 fflush(stdout); 853 857 return 0; 854 858 }
Note: See TracChangeset
for help on using the changeset viewer.