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

Comparing ray/src/rt/freeobjmem.c (file contents):
Revision 2.9 by greg, Mon Dec 9 17:56:25 2013 UTC vs.
Revision 2.10 by greg, Wed Nov 15 18:02:52 2023 UTC

# Line 57 | Line 57 | free_os(                       /* free unneeded memory for object */
57                  return(1);
58          case MAT_CLIP:          /* clipping surface */
59          case MAT_SPOT:          /* spot light source */
60 +        case PAT_SPECTRUM:      /* constant spectrum */
61 +        case PAT_SPECFILE:      /* spectrum from data file */
62                  free((void *)op->os);
63                  op->os = NULL;
64                  return(1);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines