--- ray/src/rt/raytrace.c 1991/01/12 14:05:01 1.13 +++ ray/src/rt/raytrace.c 1991/02/12 12:57:07 1.14 @@ -252,7 +252,7 @@ RAY *r; if (rp->rox == &xp->xf) { /* xp in use */ xp = xp->next; /* move to next */ if (xp == xflast) { /* need new one */ - xp = (struct xfn *)malloc(sizeof(struct xfn)); + xp = (struct xfn *)bmalloc(sizeof(struct xfn)); if (xp == NULL) error(SYSTEM, "out of memory in newrayxf");