Changeset 471 for trunk/zoo-project/zoo-kernel/zoo_service_loader.c
- Timestamp:
- May 10, 2014, 4:23:03 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/zoo-project/zoo-kernel/zoo_service_loader.c
r469 r471 504 504 printExceptionReportResponse(m,tmps1); 505 505 *eres=-1; 506 freeMap(&tmps1); 507 free(tmps1); 506 508 } 507 509 } … … 683 685 _getcwd(ntmp,1024); 684 686 #endif 685 r_inputs=getMapOrFill( request_inputs,"metapath","");687 r_inputs=getMapOrFill(&request_inputs,"metapath",""); 686 688 687 689 … … 783 785 freeMaps(&m); 784 786 free(m); 787 if(request_inputs!=NULL){ 788 freeMap(&request_inputs); 789 free(request_inputs); 790 } 785 791 return 1; 786 792 } … … 972 978 setMapInMaps(m,"lenv","level","0"); 973 979 } 980 free(corig); 974 981 975 982 memset(buff,0,256); … … 1395 1402 #endif 1396 1403 { 1397 if(loadRemoteFile( m,tmpmaps->content,hInternet,tmpx2)<0){1404 if(loadRemoteFile(&m,&tmpmaps->content,hInternet,tmpx2)<0){ 1398 1405 freeMaps(&m); 1399 1406 free(m); … … 1557 1564 if(!(ltmp!=NULL && strncmp(ltmp->value,"POST",4)==0) 1558 1565 && CHECK_INET_HANDLE(hInternet)){ 1559 if(loadRemoteFile( m,tmpmaps->content,hInternet,(char*)val)!=0){1566 if(loadRemoteFile(&m,&tmpmaps->content,hInternet,(char*)val)!=0){ 1560 1567 freeMaps(&m); 1561 1568 free(m);
Note: See TracChangeset
for help on using the changeset viewer.