- Timestamp:
- Feb 27, 2018, 4:08:56 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/zoo-project/zoo-kernel/request_parser.c
r869 r870 924 924 tmpmaps->content = 925 925 createMap (list[l], (char *) val); 926 xmlFree (val); 926 927 } 927 xmlFree (val); 928 else{ 929 if(l==0){ 930 if (tmpmaps->content != NULL) 931 addToMap (tmpmaps->content, list[l], 932 "string"); 933 else 934 tmpmaps->content = 935 createMap (list[l],"string"); 936 } 937 } 928 938 free (list[l]); 929 939 } … … 950 960 tmpmaps->content = 951 961 createMap (coms[l], (char *) val); 962 xmlFree (val); 952 963 } 953 xmlFree (val);954 964 } 955 965 } … … 1032 1042 if (cur5 != NULL 1033 1043 && cur5->type == XML_CDATA_SECTION_NODE){ 1034 xmlFree(mv); 1044 if(mv!=NULL) 1045 xmlFree(mv); 1035 1046 mv=xmlStrdup(cur5->content); 1036 1047 }
Note: See TracChangeset
for help on using the changeset viewer.