Changeset 1032 for trunk/dll/arccnrs.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/arccnrs.c

    r1018 r1032  
    337337    psz = pai->pszFileName;
    338338    pai->pszFileName = NullStr;
     339# ifdef FORTIFY
     340    xfree(psz, pszSrcFile, __LINE__);
     341# else
    339342    free(psz);
     343# endif
     344# ifdef FORTIFY
     345  Fortify_LeaveScope();
     346# endif
    340347  }
    341348}
     
    18061813                      li->list[x] = temp;
    18071814                    else {
    1808                       free(temp);
     1815                      xfree(temp, pszSrcFile, __LINE__);
    18091816                    }
    18101817                  }
     
    18161823                  li->list[x] = temp;
    18171824                else
    1818                   free(temp);
     1825                  xfree(temp, pszSrcFile, __LINE__);
    18191826              }
    18201827              if (li->type == IDM_VIEW || li->type == IDM_EDIT) {
Note: See TracChangeset for help on using the changeset viewer.