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

Comparing ray/src/rt/pmutil.c (file contents):
Revision 2.6 by rschregle, Tue Mar 23 00:07:13 2021 UTC vs.
Revision 2.7 by greg, Fri Jan 10 21:43:22 2025 UTC

# Line 127 | Line 127 | void cleanUpPmaps (PhotonMap **pmaps)
127        if (pmaps [t]) {
128           deletePhotons(pmaps [t]);
129           free(pmaps [t]);
130 +         pmaps [t] = NULL;
131        }
132     }
133   }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines