Changeset 985 for trunk/dll/subj.c


Ignore:
Timestamp:
Mar 1, 2008, 2:37:14 AM (18 years ago)
Author:
Gregg Young
Message:

Update sizes dialog (ticket 44); Make max command line length user settable (ticket 199); use xfree for free in most cases (ticket 212); initial code to check for valid ini file (ticket 102); Some additional refactoring and structure rework; Some documentation updates;

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dll/subj.c

    r907 r985  
    1414  20 Aug 07 GKY Move #pragma alloc_text to end for OpenWatcom compat
    1515  01 Sep 07 GKY Use xDosSetPathInfo to fix case where FS3 buffer crosses 64k boundry
     16  29 Feb 08 GKY Use xfree where appropriate
    1617
    1718***********************************************************************/
     
    5657    pfealist = xmallocz(1024, pszSrcFile, __LINE__);
    5758    if (pfealist)
    58       free(pgealist);
     59    xfree(pgealist);
    5960    else {
    6061      pfealist->cbList = 1024;
     
    6465      rc = DosQueryPathInfo(filename, FIL_QUERYEASFROMLIST,
    6566                            (PVOID) & eaop, (ULONG) sizeof(EAOP2));
    66       free(pgealist);
     67      xfree(pgealist);
    6768      if (!rc) {
    6869        pfea = &eaop.fpFEA2List->list[0];
     
    7374        subject[1023] = 0;
    7475      }
    75       free(pfealist);
     76      xfree(pfealist);
    7677      if (rc == ERROR_SHARING_VIOLATION || rc == ERROR_ACCESS_DENIED) {
    7778        saymsg(MB_CANCEL,
Note: See TracChangeset for help on using the changeset viewer.