Skip to content

Commit 995e788

Browse files
committed
fixed potential memory leak in ISPC scene setup
1 parent 467f13f commit 995e788

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

kernels/bvh/bvh.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,7 @@ namespace embree
186186
{
187187
if (!stat) stat.reset(new BVHNStatistics<N>(this));
188188
Lock<MutexSys> lock(g_printMutex);
189-
std::cout << "BENCHMARK_BUILD " << dt << " " << double(numPrimitives)/dt << " " << stat->sah() << " " << stat->bytesUsed() /* << " BVH" << N << "<" << primTy.name << ">"*/ << std::endl << std::flush;
189+
std::cout << "BENCHMARK_BUILD " << dt << " " << double(numPrimitives)/dt << " " << stat->sah() << " " << stat->bytesUsed() << " BVH" << N << "<" << primTy.name << ">" << std::endl << std::flush;
190190
}
191191
}
192192

0 commit comments

Comments
 (0)