Changeset 1012 for trunk/dll/init.c


Ignore:
Timestamp:
May 11, 2008, 10:27:56 PM (17 years ago)
Author:
Gregg Young
Message:

Fixed crash on directory container close with fortify enabled; fixed memory leak in assoc.c;added a fortify scope to correspond to the loading and unloading of fm3.dll

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dll/init.c

    r1004 r1012  
    7777#include "fm3dll.h"
    7878#include "notebook.h"                   // command line variables (editor etc)
     79#include "fortify.h"
    7980
    8081#ifdef __IBMC__
     
    537538
    538539  EndNote();
    539 
     540  Fortify_LeaveScope();
    540541  if (FM3ModHandle)
    541542    DosFreeModule(FM3ModHandle);
     
    604605      ret = pfnResVersion(&RVMajor, &RVMinor);
    605606  }
    606 
     607  Fortify_EnterScope();
    607608  if (RVMajor < VERMAJOR || (RVMajor == VERMAJOR && RVMinor < VERMINOR)) {
    608609    saymsg(MB_ENTER,
Note: See TracChangeset for help on using the changeset viewer.