Changeset 985 for trunk/dll/remap.c
- Timestamp:
- Mar 1, 2008, 2:37:14 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/dll/remap.c
r907 r985 13 13 31 Aug 06 SHL Use _fsopen to avoid noise complaints 14 14 20 Aug 07 GKY Move #pragma alloc_text to end for OpenWatcom compat 15 29 Feb 08 GKY Use xfree where appropriate 15 16 16 17 ***********************************************************************/ … … 83 84 info->res = xstrdup(s, pszSrcFile, __LINE__); 84 85 if (!info->res) 85 free(info);86 xfree(info); 86 87 else { 87 88 x++; … … 151 152 info->res = xstrdup(res, pszSrcFile, __LINE__); 152 153 if (!info->res) 153 free(info);154 xfree(info); 154 155 else { 155 156 info->next = NULL; … … 161 162 info = reshead; 162 163 reshead = reshead->next; 163 free(info);164 xfree(info); 164 165 } 165 166 return TRUE; … … 184 185 else 185 186 reshead = info->next; 186 free(info->res);187 free(info);187 xfree(info->res); 188 xfree(info); 188 189 return TRUE; 189 190 } … … 201 202 while (info) { 202 203 next = info->next; 203 free(info->res);204 free(info);204 xfree(info->res); 205 xfree(info); 205 206 info = next; 206 207 } … … 439 440 "%s", GetPString(IDS_CANTSTARTNETUSETEXT)); 440 441 if (!mp2 || (ULONG) mp2 == 1041 || info->failedonce) 441 free(info);442 xfree(info); 442 443 break; 443 444 } … … 728 729 while (info) { 729 730 next = info->next; 730 free(info);731 xfree(info); 731 732 info = next; 732 733 }
Note:
See TracChangeset
for help on using the changeset viewer.