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

Comparing ray/src/rt/raytrace.c (file contents):
Revision 1.13 by greg, Sat Jan 12 14:05:01 1991 UTC vs.
Revision 1.14 by greg, Tue Feb 12 12:57:07 1991 UTC

# Line 252 | Line 252 | RAY  *r;
252                  if (rp->rox == &xp->xf) {               /* xp in use */
253                          xp = xp->next;                  /* move to next */
254                          if (xp == xflast) {             /* need new one */
255 <                                xp = (struct xfn *)malloc(sizeof(struct xfn));
255 >                                xp = (struct xfn *)bmalloc(sizeof(struct xfn));
256                                  if (xp == NULL)
257                                          error(SYSTEM,
258                                                  "out of memory in newrayxf");

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines