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.7 by greg, Wed May 29 17:11:32 1991 UTC vs.
Revision 1.8 by greg, Wed Jul 17 14:10:14 1991 UTC

# Line 85 | Line 85 | int  flags;
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