Changeset 370 for trunk/dll/grep.c


Ignore:
Timestamp:
Jul 27, 2006, 4:21:21 AM (19 years ago)
Author:
root
Message:

Check more run time errors

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dll/grep.c

    r350 r370  
    1616  24 Oct 05 SHL dononefile: do not free EA list twice
    1717  22 Jul 06 SHL Use Runtime_Error
     18  26 Jul 06 SHL Check more run time errors
    1819
    1920***********************************************************************/
     
    11891190                     GetPString(IDS_GREPDUPESORTINGTEXT));
    11901191    DosSleep(1L);
    1191     g->dupenames = malloc(sizeof(DUPES *) * (x + 1));
     1192    g->dupenames = xmalloc(sizeof(DUPES *) * (x + 1), pszSrcFile, __LINE__);
    11921193    if (!g->nosizedupes)
    1193       g->dupesizes = malloc(sizeof(DUPES *) * (x + 1));
     1194      g->dupesizes = xmalloc(sizeof(DUPES *) * (x + 1), pszSrcFile, __LINE__);
    11941195    if (g->dupenames && (g->nosizedupes || g->dupesizes)) {
    11951196      i = g->dupehead;
Note: See TracChangeset for help on using the changeset viewer.