Changeset 1032 for trunk/dll/objwin.c


Ignore:
Timestamp:
Jun 30, 2008, 4:55:36 AM (17 years ago)
Author:
Gregg Young
Message:

Fortify updates including a leave scope wrapper which frees and in some cases reloads commands, archivers, association, etc.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dll/objwin.c

    r907 r1032  
    2525#include "errutil.h"                    // Win_Error
    2626#include "fm3dll.h"
     27#include "fortify.h"
    2728
    2829static PSZ pszSrcFile = __FILE__;
     
    7576                   IDS_WINCREATEWINDOW);
    7677      else {
     78# ifdef FORTIFY
     79  Fortify_EnterScope();
     80# endif
    7781        WinSetWindowPtr(ObjectHwnd, QWL_USER, args);
    7882        /* initially populate container */
     
    8690      WinDestroyMsgQueue(hmq2);
    8791    }
     92# ifdef FORTIFY
     93    xFortify_LeaveScope(pszSrcFile, __LINE__);
     94# endif
    8895    WinTerminate(hab2);
    8996  }
Note: See TracChangeset for help on using the changeset viewer.