Changeset 1038 for trunk/dll/inis.c


Ignore:
Timestamp:
Jul 4, 2008, 10:33:59 PM (17 years ago)
Author:
Gregg Young
Message:

More fortify cleanup

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dll/inis.c

    r1014 r1038  
    4747#include "strutil.h"                    // GetPString
    4848#include "fm3dll.h"
     49#include "fortify.h"
    4950
    5051#pragma data_seg(DATA2)
     
    126127
    127128  if (inirec) {
     129# ifdef FORTIFY
     130  Fortify_EnterScope();
     131# endif
    128132    hab2 = WinInitialize(0);
    129133    if (hab2) {
     
    293297              MPVOID);
    294298    xfree(inirec, pszSrcFile, __LINE__);
     299# ifdef FORTIFY
     300    Fortify_LeaveScope();
     301# endif
    295302  }
    296303}
     
    335342
    336343  if (prfp) {
     344# ifdef FORTIFY
     345  Fortify_EnterScope();
     346# endif
    337347    hab2 = WinInitialize(0);
    338348    if (hab2) {
     
    434444    xfree(prfp->pszSysName, pszSrcFile, __LINE__);
    435445    xfree(prfp, pszSrcFile, __LINE__);
     446# ifdef FORTIFY
     447    Fortify_LeaveScope();
     448# endif
    436449  }
    437450}
Note: See TracChangeset for help on using the changeset viewer.