Changeset 1039 for trunk/dll/remap.c
- Timestamp:
- Jul 6, 2008, 12:16:21 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/dll/remap.c
r1009 r1039 31 31 #include "strutil.h" // GetPString 32 32 #include "fm3dll.h" 33 #include "fortify.h" 33 34 34 35 #pragma data_seg(DATA1) … … 84 85 info->res = xstrdup(s, pszSrcFile, __LINE__); 85 86 if (!info->res) 86 xfree(info, pszSrcFile, __LINE__);87 free(info); 87 88 else { 88 89 x++; … … 152 153 info->res = xstrdup(res, pszSrcFile, __LINE__); 153 154 if (!info->res) 154 xfree(info, pszSrcFile, __LINE__);155 free(info); 155 156 else { 156 157 info->next = NULL; … … 162 163 info = reshead; 163 164 reshead = reshead->next; 164 xfree(info, pszSrcFile, __LINE__);165 free(info); 165 166 } 166 167 return TRUE; … … 186 187 reshead = info->next; 187 188 xfree(info->res, pszSrcFile, __LINE__); 188 xfree(info, pszSrcFile, __LINE__);189 free(info); 189 190 return TRUE; 190 191 } … … 203 204 next = info->next; 204 205 xfree(info->res, pszSrcFile, __LINE__); 205 xfree(info, pszSrcFile, __LINE__);206 free(info); 206 207 info = next; 207 208 } … … 440 441 "%s", GetPString(IDS_CANTSTARTNETUSETEXT)); 441 442 if (!mp2 || (ULONG) mp2 == 1041 || info->failedonce) 442 xfree(info, pszSrcFile, __LINE__);443 free(info); 443 444 break; 444 445 } … … 729 730 while (info) { 730 731 next = info->next; 731 xfree(info, pszSrcFile, __LINE__);732 free(info); 732 733 info = next; 733 734 }
Note:
See TracChangeset
for help on using the changeset viewer.