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

Comparing ray/src/common/instance.c (file contents):
Revision 1.6 by greg, Sat Dec 15 15:01:37 1990 UTC vs.
Revision 2.1 by greg, Tue Nov 12 16:54:54 1991 UTC

# Line 80 | Line 80 | int  flags;
80                  in->obj = getscene(o->oargs.sarg[0], flags);
81          return(in);
82   }
83 +
84 +
85 + freeinstance(o)         /* free memory associated with instance */
86 + OBJREC  *o;
87 + {
88 +        if (o->os == NULL)
89 +                return;
90 +        free(o->os);
91 +        o->os = NULL;
92 + }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines