Changeset 961 for trunk/zoo-project/zoo-kernel/service.c
- Timestamp:
- Sep 8, 2020, 4:51:09 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/zoo-project/zoo-kernel/service.c
r957 r961 328 328 fprintf(stderr,"freeMap\n"); 329 329 #endif 330 free(_cursor->name); 331 free(_cursor->value); 330 if(_cursor->name!=NULL) 331 free(_cursor->name); 332 if(_cursor->value!=NULL) 333 free(_cursor->value); 332 334 if(_cursor->next!=NULL){ 333 335 freeMap(&_cursor->next); 334 free(_cursor->next); 336 if(_cursor->next!=NULL) 337 free(_cursor->next); 335 338 } 336 339 } … … 825 828 else{ 826 829 maps* tmp1=getMaps(*mo,tmp->name); 827 while(_cursor->next!=NULL)828 _cursor=_cursor->next;829 830 if(tmp1==NULL){ 831 while(_cursor->next!=NULL) 832 _cursor=_cursor->next; 830 833 _cursor->next=dupMaps(&tmp); 831 834 if(tmp->child!=NULL)
Note: See TracChangeset
for help on using the changeset viewer.