Changeset 1009 for trunk/dll/arccnrs.c
- Timestamp:
- May 10, 2008, 9:51:58 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/dll/arccnrs.c
r1004 r1009 1336 1336 } 1337 1337 } 1338 xfree((CHAR *) mp2);1338 xfree((CHAR *)mp2, pszSrcFile, __LINE__); 1339 1339 PostMsg(pdt->hwndClient, DM_RENDERCOMPLETE, MPFROMP(pdt), 1340 1340 MPFROM2SHORT(usRes, 0)); … … 1438 1438 if (!dcd->info->extract) { 1439 1439 Runtime_Error(pszSrcFile, __LINE__, "no extract"); 1440 xfree(s );1440 xfree(s, pszSrcFile, __LINE__); 1441 1441 return 0; 1442 1442 } … … 1468 1468 } 1469 1469 // printf("%s %d UM_ENTER %s %s\n",__FILE__, __LINE__,filename, s); fflush(stdout); // 10 Mar 07 SHL hang 1470 xfree(s );1470 xfree(s, pszSrcFile, __LINE__); 1471 1471 if (IsFile(filename) == 1) { 1472 1472 #if 1 // 06 Oct 07 SHL fixme to be gone - set to 0 for ticket #58 testing … … 1747 1747 strcat(p, temp); 1748 1748 li->list[x] = p; 1749 xfree(temp );1749 xfree(temp, pszSrcFile, __LINE__); 1750 1750 } 1751 1751 } … … 1994 1994 FreeList(dcd->lastselection); 1995 1995 WinSendMsg(dcd->hwndCnr, UM_CLOSE, MPVOID, MPVOID); 1996 xfree(dcd );1996 xfree(dcd, pszSrcFile, __LINE__); 1997 1997 WinSetWindowPtr(dcd->hwndCnr, QWL_USER, NULL); 1998 1998 } … … 2541 2541 ret = StartMLEEditor(dcd->hwndParent, 2542 2542 (INT) mp1, (CHAR *) mp2, dcd->hwndFrame); 2543 xfree((CHAR *) mp2 );2543 xfree((CHAR *) mp2, pszSrcFile, __LINE__); 2544 2544 return MRFROMLONG(ret); 2545 2545 } … … 2908 2908 BldFullPathName(s, dcd->workdir, li->list[x]); 2909 2909 if (IsFile(s) != 1) { 2910 xfree(li->list[x] );2910 xfree(li->list[x], pszSrcFile, __LINE__); 2911 2911 li->list[x] = NULL; 2912 2912 for (y = x; li->list[y]; y++) … … 2920 2920 p = xstrdup(s, pszSrcFile, __LINE__); 2921 2921 if (p) { 2922 xfree(li->list[x] );2922 xfree(li->list[x], pszSrcFile, __LINE__); 2923 2923 li->list[x] = p; 2924 2924 } … … 2968 2968 } 2969 2969 else 2970 xfree(li );2970 xfree(li, pszSrcFile, __LINE__); 2971 2971 } 2972 2972 } … … 3229 3229 if (!PostMsg(dcd->hwndObject, UM_ENTER, MPFROMP(s), MPVOID)) { 3230 3230 Runtime_Error(pszSrcFile, __LINE__, "post"); 3231 xfree(s );3231 xfree(s, pszSrcFile, __LINE__); 3232 3232 } 3233 3233 } … … 3522 3522 IDS_WINCREATEWINDOW); 3523 3523 PostMsg(hwndClient, WM_CLOSE, MPVOID, MPVOID); 3524 xfree(dcd );3524 xfree(dcd, pszSrcFile, __LINE__); 3525 3525 hwndFrame = (HWND) 0; 3526 3526 }
Note:
See TracChangeset
for help on using the changeset viewer.