Changeset 1039 for trunk/dll/menu.c
- Timestamp:
- Jul 6, 2008, 12:16:21 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/dll/menu.c
r1009 r1039 27 27 #include "errutil.h" // Dos_Error... 28 28 #include "fm3dll.h" 29 #include "fortify.h" 29 30 30 31 #pragma data_seg(DATA2) … … 69 70 next = info->next; 70 71 xfree(info->text, pszSrcFile, __LINE__); 71 xfree(info, pszSrcFile, __LINE__);72 free(info); 72 73 info = next; 73 74 } … … 107 108 info->text = xstrdup(tokens[2], pszSrcFile, __LINE__); 108 109 if (!info->text) 109 xfree(info, pszSrcFile, __LINE__);110 free(info); 110 111 else { 111 112 if (!stricmp(tokens[0], "MENUITEM")) … … 116 117 /* error! */ 117 118 xfree(info->text, pszSrcFile, __LINE__); 118 xfree(info, pszSrcFile, __LINE__);119 free(info); 119 120 info = NULL; 120 121 }
Note:
See TracChangeset
for help on using the changeset viewer.