Changeset 1039 for trunk/dll/arccnrs.c
- Timestamp:
- Jul 6, 2008, 12:16:21 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/dll/arccnrs.c
r1038 r1039 1442 1442 if (!dcd->info->extract) { 1443 1443 Runtime_Error(pszSrcFile, __LINE__, "no extract"); 1444 xfree(s, pszSrcFile, __LINE__);1444 free(s); 1445 1445 return 0; 1446 1446 } … … 1472 1472 } 1473 1473 // printf("%s %d UM_ENTER %s %s\n",__FILE__, __LINE__,filename, s); fflush(stdout); // 10 Mar 07 SHL hang 1474 xfree(s, pszSrcFile, __LINE__);1474 free(s); 1475 1475 if (IsFile(filename) == 1) { 1476 1476 #if 1 // 06 Oct 07 SHL fixme to be gone - set to 0 for ticket #58 testing … … 1750 1750 strcat(p, temp); 1751 1751 li->list[x] = p; 1752 xfree(temp, pszSrcFile, __LINE__);1752 free(temp); 1753 1753 } 1754 1754 } … … 1997 1997 FreeList(dcd->lastselection); 1998 1998 WinSendMsg(dcd->hwndCnr, UM_CLOSE, MPVOID, MPVOID); 1999 xfree(dcd, pszSrcFile, __LINE__);1999 free(dcd); 2000 2000 # ifdef FORTIFY 2001 2001 Fortify_LeaveScope(); … … 2551 2551 hwnd = StartMLEEditor(dcd->hwndParent, 2552 2552 (INT)mp1, (CHAR *)mp2, dcd->hwndFrame); 2553 xfree((CHAR *)mp2, pszSrcFile, __LINE__);2553 free((CHAR *)mp2); 2554 2554 return MRFROMLONG(hwnd); 2555 2555 } … … 2920 2920 BldFullPathName(s, dcd->workdir, li->list[x]); 2921 2921 if (IsFile(s) != 1) { 2922 xfree(li->list[x], pszSrcFile, __LINE__);2922 free(li->list[x]); 2923 2923 li->list[x] = NULL; 2924 2924 for (y = x; li->list[y]; y++) … … 2932 2932 p = xstrdup(s, pszSrcFile, __LINE__); 2933 2933 if (p) { 2934 xfree(li->list[x], pszSrcFile, __LINE__);2934 free(li->list[x]); 2935 2935 li->list[x] = p; 2936 2936 } … … 2980 2980 } 2981 2981 else 2982 xfree(li, pszSrcFile, __LINE__);2982 free(li); 2983 2983 # ifdef FORTIFY 2984 2984 Fortify_LeaveScope(); … … 3244 3244 if (!PostMsg(dcd->hwndObject, UM_ENTER, MPFROMP(s), MPVOID)) { 3245 3245 Runtime_Error(pszSrcFile, __LINE__, "post"); 3246 xfree(s, pszSrcFile, __LINE__);3246 free(s); 3247 3247 } 3248 3248 } … … 3540 3540 IDS_WINCREATEWINDOW); 3541 3541 PostMsg(hwndClient, WM_CLOSE, MPVOID, MPVOID); 3542 xfree(dcd, pszSrcFile, __LINE__);3542 free(dcd); 3543 3543 # ifdef FORTIFY 3544 3544 Fortify_LeaveScope();
Note:
See TracChangeset
for help on using the changeset viewer.