Changeset 985 for trunk/dll/arccnrs.c
- Timestamp:
- Mar 1, 2008, 2:37:14 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/dll/arccnrs.c
r959 r985 52 52 10 Feb 08 GKY Implement bubble help for bitmap menu items 53 53 15 Feb 08 SHL Sync with settings menu rework 54 29 Feb 08 GKY Use xfree where appropriate 54 55 55 56 ***********************************************************************/ … … 1437 1438 if (!dcd->info->extract) { 1438 1439 Runtime_Error(pszSrcFile, __LINE__, "no extract"); 1439 free(s);1440 xfree(s); 1440 1441 return 0; 1441 1442 } … … 1467 1468 } 1468 1469 // printf("%s %d UM_ENTER %s %s\n",__FILE__, __LINE__,filename, s); fflush(stdout); // 10 Mar 07 SHL hang 1469 free(s);1470 xfree(s); 1470 1471 if (IsFile(filename) == 1) { 1471 1472 #if 1 // 06 Oct 07 SHL fixme to be gone - set to 0 for ticket #58 testing … … 1746 1747 strcat(p, temp); 1747 1748 li->list[x] = p; 1748 free(temp);1749 xfree(temp); 1749 1750 } 1750 1751 } … … 1993 1994 FreeList(dcd->lastselection); 1994 1995 WinSendMsg(dcd->hwndCnr, UM_CLOSE, MPVOID, MPVOID); 1995 free(dcd);1996 xfree(dcd); 1996 1997 WinSetWindowPtr(dcd->hwndCnr, QWL_USER, NULL); 1997 1998 } … … 2540 2541 ret = StartMLEEditor(dcd->hwndParent, 2541 2542 (INT) mp1, (CHAR *) mp2, dcd->hwndFrame); 2542 free((CHAR *) mp2);2543 xfree((CHAR *) mp2); 2543 2544 return MRFROMLONG(ret); 2544 2545 } … … 2907 2908 BldFullPathName(s, dcd->workdir, li->list[x]); 2908 2909 if (IsFile(s) != 1) { 2909 free(li->list[x]);2910 xfree(li->list[x]); 2910 2911 li->list[x] = NULL; 2911 2912 for (y = x; li->list[y]; y++) … … 2919 2920 p = xstrdup(s, pszSrcFile, __LINE__); 2920 2921 if (p) { 2921 free(li->list[x]);2922 xfree(li->list[x]); 2922 2923 li->list[x] = p; 2923 2924 } … … 2967 2968 } 2968 2969 else 2969 free(li);2970 xfree(li); 2970 2971 } 2971 2972 } … … 3228 3229 if (!PostMsg(dcd->hwndObject, UM_ENTER, MPFROMP(s), MPVOID)) { 3229 3230 Runtime_Error(pszSrcFile, __LINE__, "post"); 3230 free(s);3231 xfree(s); 3231 3232 } 3232 3233 } … … 3521 3522 IDS_WINCREATEWINDOW); 3522 3523 PostMsg(hwndClient, WM_CLOSE, MPVOID, MPVOID); 3523 free(dcd);3524 xfree(dcd); 3524 3525 hwndFrame = (HWND) 0; 3525 3526 }
Note:
See TracChangeset
for help on using the changeset viewer.