mmp / pbrt-v3

Source code for pbrt, the renderer described in the third edition of "Physically Based Rendering: From Theory To Implementation", by Matt Pharr, Wenzel Jakob, and Greg Humphreys.
http://pbrt.org
BSD 2-Clause "Simplified" License
4.86k stars 1.18k forks source link

Fix memory leak in FourierBSDFTable #260

Closed jakubhendrich closed 4 years ago

jakubhendrich commented 4 years ago

FourierBSDFTable's fields don't get deleted when the struct is being destroyed.

mmp commented 4 years ago

Thanks!