Changeset 1009 for trunk/dll/pathutil.c


Ignore:
Timestamp:
May 10, 2008, 9:51:58 AM (17 years ago)
Author:
Steven Levine
Message:

Add xfree xstrdup Fortify support
Add MT capable Fortify scope logic

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dll/pathutil.c

    r989 r1009  
    132132  szArgs = xmalloc(MaxComLineStrg, pszSrcFile, __LINE__);
    133133  if (!szArgs) {
    134     xfree(szCmdLine);
     134    xfree(szCmdLine, pszSrcFile, __LINE__);
    135135    return pszCmdLine_; //already complained
    136136  }
     
    333333    }
    334334  }
    335   xfree(szArgs);
    336   xfree(szCmdLine);
     335  xfree(szArgs, pszSrcFile, __LINE__);
     336  xfree(szCmdLine, pszSrcFile, __LINE__);
    337337  return pszWorkBuf;
    338338}
Note: See TracChangeset for help on using the changeset viewer.