Changeset 1017 for trunk/dll/arccnrs.c


Ignore:
Timestamp:
May 26, 2008, 5:02:59 AM (17 years ago)
Author:
Gregg Young
Message:

fortify updates for threads dble free fix

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dll/arccnrs.c

    r1011 r1017  
    17391739                  p++;
    17401740                }
    1741                 p =
    1742                   xmalloc(strlen(temp) + strlen(li->targetpath) + 2,
    1743                           pszSrcFile, __LINE__);
     1741                p = xmalloc(strlen(temp) + strlen(li->targetpath) + 2,
     1742                            pszSrcFile, __LINE__);
    17441743                if (p) {
    17451744                  strcpy(p, li->targetpath);
     
    19961995      WinSendMsg(dcd->hwndCnr, UM_CLOSE, MPVOID, MPVOID);
    19971996      xfree(dcd, pszSrcFile, __LINE__);
     1997# ifdef FORTIFY
     1998  Fortify_LeaveScope();
     1999# endif
    19982000      WinSetWindowPtr(dcd->hwndCnr, QWL_USER, NULL);
    19992001    }
     
    34403442        idinc = 0;
    34413443      WinSetWindowUShort(hwndFrame, QWS_ID, id);
     3444# ifdef FORTIFY
     3445  Fortify_EnterScope();
     3446# endif
    34423447      dcd = xmallocz(sizeof(DIRCNRDATA), pszSrcFile, __LINE__);
    34433448      if (!dcd) {
     
    35233528                     IDS_WINCREATEWINDOW);
    35243529          PostMsg(hwndClient, WM_CLOSE, MPVOID, MPVOID);
    3525           xfree(dcd, pszSrcFile, __LINE__);
     3530          xfree(dcd, pszSrcFile, __LINE__);
     3531# ifdef FORTIFY
     3532  Fortify_LeaveScope();
     3533# endif
    35263534          hwndFrame = (HWND) 0;
    35273535        }
Note: See TracChangeset for help on using the changeset viewer.