Changeset 985 for trunk/dll/autoview.c
- Timestamp:
- Mar 1, 2008, 2:37:14 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/dll/autoview.c
r959 r985 23 23 22 Nov 07 GKY Use CopyPresParams to fix presparam inconsistencies in menus 24 24 30 Dec 07 GKY Use CommaFmtULL 25 29 Feb 08 GKY Use xfree where appropriate 25 26 26 27 ***********************************************************************/ … … 412 413 WinSetWindowText(hwndAutoview, obuff); 413 414 } 414 free(obuff);415 xfree(obuff); 415 416 } 416 free(ibuff);417 xfree(ibuff); 417 418 } 418 419 DosClose(handle); … … 507 508 if (*pszBuf) 508 509 WinSetWindowText(hwndAutoview, pszBuf); 509 free(pszBuf);510 xfree(pszBuf); 510 511 } 511 512 } … … 541 542 rc = DosQueryPathInfo((CHAR *) mp1, FIL_QUERYEASFROMLIST, 542 543 (PVOID) & eaop, (ULONG) sizeof(EAOP2)); 543 free(pgealist);544 xfree(pgealist); 544 545 if (!rc) { 545 546 pfea = &eaop.fpFEA2List->list[0]; … … 591 592 } 592 593 WinSetWindowText(hwndAutoMLE, pszBuf); 593 free(pszBuf);594 xfree(pszBuf); 594 595 } 595 596 } … … 605 606 MLEsetreadonly(hwndAutoMLE, FALSE); 606 607 } 607 free(pfealist);608 xfree(pfealist); 608 609 } 609 610 } 610 611 } 611 612 } 612 free((CHAR *) mp1);613 xfree((CHAR *) mp1); 613 614 } 614 615 return 0; … … 786 787 PutComments(hwnd, currfile, ea); 787 788 PostMsg(hwnd, WM_COMMAND, MPFROM2SHORT(IDM_RESCAN, 0), MPVOID); 788 free(ea);789 xfree(ea); 789 790 } 790 791 } … … 836 837 stopflag++; 837 838 if (!PostMsg(hwndAutoObj, UM_LOADFILE, MPFROMP(cf), MPVOID)) 838 free(cf);839 xfree(cf); 839 840 } 840 841 }
Note:
See TracChangeset
for help on using the changeset viewer.