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

Comparing ray/src/gen/mkillum3.c (file contents):
Revision 2.12 by greg, Thu Sep 13 17:52:35 2007 UTC vs.
Revision 2.13 by greg, Mon Aug 15 19:48:06 2011 UTC

# Line 152 | Line 152 | flatout(               /* write hemispherical distribution */
152          printf("\t%f\t%f\t%f\n", v[0], v[1], v[2]);
153          printf("\t%f\t%f\t%f\n", w[0], w[1], w[2]);
154          il->dfnum++;
155 <        free((void *)Ninv);
155 >        free(Ninv);
156   }
157  
158  
# Line 207 | Line 207 | roundout(                      /* write spherical distribution */
207          printf("\n\t%s il_alt il_azi", FNCFNM);
208          printf("\n0\n0\n");
209          il->dfnum++;
210 <        free((void *)Ninv);
211 <        free((void *)Sinv);
210 >        free(Ninv);
211 >        free(Sinv);
212   }
213  
214  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines