Changeset 985 for trunk/dll/copyf.c


Ignore:
Timestamp:
Mar 1, 2008, 2:37:14 AM (17 years ago)
Author:
Gregg Young
Message:

Update sizes dialog (ticket 44); Make max command line length user settable (ticket 199); use xfree for free in most cases (ticket 212); initial code to check for valid ini file (ticket 102); Some additional refactoring and structure rework; Some documentation updates;

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dll/copyf.c

    r959 r985  
    1818  20 Aug 07 GKY Move #pragma alloc_text to end for OpenWatcom compat
    1919  01 Sep 07 GKY Use xDosSetPathInfo to fix case where FS3 buffer crosses 64k boundry
     20  29 Feb 08 GKY Use xfree where appropriate
    2021
    2122***********************************************************************/
     
    236237          longname[CCHMAXPATH - 1] = 0;
    237238        }
    238         free(pfealist);
    239       }
    240       free(pgealist);
     239        xfree(pfealist);
     240      }
     241      xfree(pgealist);
    241242    }
    242243  }
     
    711712        /* under no circumstances! */
    712713        Runtime_Error(pszSrcFile, __LINE__, "bad name %s", str);
    713         free(str);
     714        xfree(str);
    714715        return -1;
    715716      }
     
    738739    xfree(ss);
    739740    xfree(f);
    740     free(str);
     741    xfree(str);
    741742    return -1;
    742743  }
     
    785786  xfree(f);
    786787  xfree(ss);
    787   free(str);
     788  xfree(str);
    788789  return 0;
    789790}
     
    832833    xfree(ss);
    833834    xfree(f);
    834     free(str);
     835    xfree(str);
    835836    return -1;
    836837  }
     
    858859  xfree(f);
    859860  xfree(ss);
    860   free(str);
     861  xfree(str);
    861862  return 0;
    862863}
Note: See TracChangeset for help on using the changeset viewer.