Changeset 959 for trunk/dll/dirsize.c


Ignore:
Timestamp:
Feb 18, 2008, 1:47:31 AM (17 years ago)
Author:
Gregg Young
Message:

Use xfree where appropriate. Check that buffer exists following all xmallocs. Stopped at eas.c with xfree checking. One remaining xmalloc without test in dirsize.c

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dll/dirsize.c

    r920 r959  
    147147   * requesting EASIZE.  sheesh.
    148148   */
    149   if (((!rc || rc == ERROR_NO_MORE_FILES) && (pffbArray->attrFile & FILE_DIRECTORY)) || strlen(pszFileName) < 4) {
     149  if (((!rc || rc == ERROR_NO_MORE_FILES) && (pffbArray->attrFile & FILE_DIRECTORY)) ||
     150      strlen(pszFileName) < 4) {
    150151    if (*pchStopFlag) {
    151152      free(pffbArray);
Note: See TracChangeset for help on using the changeset viewer.