ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/radiance/ray/src/common/ealloc.c
(Generate patch)

Comparing ray/src/common/ealloc.c (file contents):
Revision 2.10 by greg, Sat Jan 15 02:00:21 2022 UTC vs.
Revision 2.11 by greg, Wed Jan 19 00:59:33 2022 UTC

# Line 39 | Line 39 | ecalloc(size_t ne, size_t es)
39          if (!ne | !es)
40                  return(NULL);
41  
42 <        if ((cp = ecalloc(ne, es)) != NULL)
42 >        if ((cp = calloc(ne, es)) != NULL)
43                  return(cp);
44  
45          eputs("Out of memory in ecalloc\n");

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines