Ignore:
Timestamp:
Aug 5, 2003, 12:16:47 PM (22 years ago)
Author:
bird
Message:

A couple of memory related bugfixes.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/emx/src/emxomf/weakld.c

    • Property cvs2svn:cvs-rev changed from 1.10 to 1.11
    r528 r529  
    21612161                    /* put into array of externals */
    21622162                    if (!(cExts % 64))
    2163                     {
    2164                         cExts += 64;
    2165                         papExts = xrealloc(papExts, sizeof(papExts[0]) * cExts);
    2166                     }
     2163                        papExts = xrealloc(papExts, sizeof(papExts[0]) * (cExts + 64));
    21672164                    papExts[cExts++] = pSym;
    21682165                }
Note: See TracChangeset for help on using the changeset viewer.