Changeset 1017 for trunk/dll/objcnr.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/objcnr.c

    r1009 r1017  
    4040#include "strutil.h"                    // GetPString
    4141#include "fm3dll.h"
     42
     43#include "fortify.h"
    4244
    4345typedef struct
     
    235237          MPVOID, MPVOID);
    236238  xfree(dirsize, pszSrcFile, __LINE__);
     239# ifdef FORTIFY
     240  Fortify_LeaveScope();
     241# endif
    237242}
    238243
     
    267272    {
    268273      DIRSIZE *dirsize;
    269 
     274# ifdef FORTIFY
     275  Fortify_EnterScope();
     276# endif
    270277      dirsize = xmalloc(sizeof(DIRSIZE), pszSrcFile, __LINE__);
    271278      if (!dirsize) {
     
    280287        Runtime_Error(pszSrcFile, __LINE__,
    281288                      GetPString(IDS_COULDNTSTARTTHREADTEXT));
    282         xfree(dirsize, pszSrcFile, __LINE__);
     289        xfree(dirsize, pszSrcFile, __LINE__);
     290# ifdef FORTIFY
     291  Fortify_LeaveScope();
     292# endif
    283293        WinDismissDlg(hwnd, 0);
    284294        break;
Note: See TracChangeset for help on using the changeset viewer.