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

Comparing ray/src/common/cone.c (file contents):
Revision 2.3 by greg, Fri Oct 2 16:01:06 1992 UTC vs.
Revision 2.4 by greg, Thu Nov 19 21:32:48 1992 UTC

# Line 154 | Line 154 | OBJREC  *o;
154   {
155          register CONE  *co = (CONE *)o->os;
156  
157 <        if (o->os == NULL)
157 >        if (co == NULL)
158                  return;
159          if (co->tm != NULL)
160                  free((char *)co->tm);
161 <        free(o->os);
161 >        free((char *)co);
162          o->os = NULL;
163   }
164  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines