Changeset 1009 for trunk/dll/grep2.c


Ignore:
Timestamp:
May 10, 2008, 9:51:58 AM (17 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/grep2.c

    r985 r1009  
    6262    if (mp2) {
    6363      WinSetWindowPtr(hwnd, QWL_USER, mp2);
    64       *(CHAR *) mp2 = 0;
     64      *(CHAR *)mp2 = 0;
    6565      {
    6666        CHAR *p;
     
    824824          DosBeep(50, 100);
    825825          WinSetFocus(HWND_DESKTOP, WinWindowFromID(hwnd, GREP_MASK));
    826           xfree(p);
     826          xfree(p, pszSrcFile, __LINE__);
    827827          break;
    828828        }
     
    923923          Runtime_Error(pszSrcFile, __LINE__,
    924924                        GetPString(IDS_COULDNTSTARTTHREADTEXT));
    925           xfree(p);
     925          xfree(p, pszSrcFile, __LINE__);
    926926          WinDismissDlg(hwnd, 0);
    927927          break;
    928928        }
    929929        DosSleep(100); //05 Aug 07 GKY 128
    930         xfree(p);
     930        xfree(p, pszSrcFile, __LINE__);
    931931      }
    932932      if (changed) {
Note: See TracChangeset for help on using the changeset viewer.