Changeset 1029 for trunk/dll/grep2.c


Ignore:
Timestamp:
Jun 23, 2008, 3:30:16 AM (17 years ago)
Author:
Gregg Young
Message:

Fixed early memory free; Added free_... functions to make fortify checking easier; Added fortify scopes; Delete now moves to trash can on systems with the xworkplace trash can installed.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dll/grep2.c

    r1009 r1029  
    4444#include "strutil.h"                    // GetPString
    4545#include "fm3dll.h"
     46#include "fortify.h"
    4647
    4748#pragma data_seg(DATA1)
     
    825826          WinSetFocus(HWND_DESKTOP, WinWindowFromID(hwnd, GREP_MASK));
    826827          xfree(p, pszSrcFile, __LINE__);
     828# ifdef FORTIFY
     829  Fortify_LeaveScope();
     830# endif
    827831          break;
    828832        }
     
    924928                        GetPString(IDS_COULDNTSTARTTHREADTEXT));
    925929          xfree(p, pszSrcFile, __LINE__);
     930# ifdef FORTIFY
     931  Fortify_LeaveScope();
     932# endif
    926933          WinDismissDlg(hwnd, 0);
    927934          break;
     
    929936        DosSleep(100); //05 Aug 07 GKY 128
    930937        xfree(p, pszSrcFile, __LINE__);
     938# ifdef FORTIFY
     939  Fortify_LeaveScope();
     940# endif
    931941      }
    932942      if (changed) {
Note: See TracChangeset for help on using the changeset viewer.