Changeset 959 for trunk/dll/literal.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/literal.c

    r907 r959  
    9494  cBufBytes = strlen(pszBuf) + 1;
    9595  pszWork = pszOut = xmalloc(cBufBytes + 1, pszSrcFile, __LINE__);
     96  if (!pszWork)
     97    return 0;
    9698
    9799  iBuf = 0;                                /* set index to first character */
Note: See TracChangeset for help on using the changeset viewer.