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

Comparing ray/src/common/testBSDF.c (file contents):
Revision 1.1 by greg, Fri Jun 5 17:55:18 2015 UTC vs.
Revision 1.2 by greg, Fri Jun 5 18:58:37 2015 UTC

# Line 82 | Line 82 | main(int argc, char *argv[])
82                                  sprintf(path, "%s/%s", directory, cp2);
83                          else
84                                  strcpy(path, cp2);
85 +                        if (bsdf != NULL)
86 +                                SDfreeCache(bsdf);
87                          bsdf = SDcacheFile(path);
88                          continue;
89                  case 'q':

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines