We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 46c8ac5 commit 8cdecb2Copy full SHA for 8cdecb2
1 file changed
src/luxrays/accelerators/mbvhaccel.cpp
@@ -46,7 +46,7 @@ MBVHAccel::~MBVHAccel() {
46
if (initialized) {
47
for(const BVHAccel *bvh: uniqueLeafs)
48
delete bvh;
49
- delete bvhRootTree;
+ delete[] bvhRootTree;
50
}
51
52
0 commit comments