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

Comparing ray/src/common/octree.c (file contents):
Revision 2.2 by greg, Fri Mar 7 15:45:30 1997 UTC vs.
Revision 2.3 by gwlarson, Mon Aug 24 15:30:11 1998 UTC

# Line 61 | Line 61 | octdone()                      /* free EVERYTHING */
61          register int    i;
62  
63          for (i = 0; i < MAXOBLK; i++) {
64 +                if (octblock[i] == NULL)
65 +                        break;
66                  bfree((char *)octblock[i], (unsigned)256*8*sizeof(OCTREE));
67                  octblock[i] = NULL;
68          }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines