Changeset 60 for trunk/zoo-kernel/service_conf.y
- Timestamp:
- Jan 7, 2011, 1:30:54 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/zoo-kernel/service_conf.y
r58 r60 176 176 freeElements(¤t_element); 177 177 free(current_element); 178 current_element=NULL;179 178 #ifdef DEBUG_SERVICE_CONF 180 179 fprintf(stderr,"(DATAINPUTS - 186) ALLOCATE current_element\n"); … … 505 504 } 506 505 } 507 | SPAIR { curr_key=strdup($1); /*free($1);*/if(debug) fprintf(stderr,"SPAIR FOUND !!\n"); }506 | SPAIR { curr_key=strdup($1);if(debug) fprintf(stderr,"SPAIR FOUND !!\n"); } 508 507 ; 509 508 … … 698 697 #endif 699 698 freeElements(¤t_element); 699 free(current_element); 700 700 current_element=NULL; 701 #ifdef DEBUG_SERVICE_CONF702 fprintf(stderr,"(STARTING)FREE my_service\n");703 #endif704 //freeService(&my_service);705 //free(my_service);706 #ifdef DEBUG_SERVICE_CONF707 fprintf(stderr,"(STARTING)FREE my_service done\n");708 #endif709 701 my_service=NULL; 710 702 scontent=NULL; … … 726 718 srin = fopen(file,"r"); 727 719 if (srin==NULL){ 728 fprintf(stderr,"error : le fichier specifie n'existe pas ou n'est pas accessible en lecture\n") ;720 fprintf(stderr,"error : file not found\n") ; 729 721 return -1; 730 722 }
Note: See TracChangeset
for help on using the changeset viewer.