Changeset 1009 for trunk/dll/subj.c


Ignore:
Timestamp:
May 10, 2008, 9:51:58 AM (18 years ago)
Author:
Steven Levine
Message:

Add xfree xstrdup Fortify support
Add MT capable Fortify scope logic

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dll/subj.c

    r985 r1009  
    5757    pfealist = xmallocz(1024, pszSrcFile, __LINE__);
    5858    if (pfealist)
    59     xfree(pgealist);
     59    xfree(pgealist, pszSrcFile, __LINE__);
    6060    else {
    6161      pfealist->cbList = 1024;
     
    6565      rc = DosQueryPathInfo(filename, FIL_QUERYEASFROMLIST,
    6666                            (PVOID) & eaop, (ULONG) sizeof(EAOP2));
    67       xfree(pgealist);
     67      xfree(pgealist, pszSrcFile, __LINE__);
    6868      if (!rc) {
    6969        pfea = &eaop.fpFEA2List->list[0];
     
    7474        subject[1023] = 0;
    7575      }
    76       xfree(pfealist);
     76      xfree(pfealist, pszSrcFile, __LINE__);
    7777      if (rc == ERROR_SHARING_VIOLATION || rc == ERROR_ACCESS_DENIED) {
    7878        saymsg(MB_CANCEL,
Note: See TracChangeset for help on using the changeset viewer.