Skip to content

Commit

Permalink
fixed potential memory leak in ISPC scene setup
Browse files Browse the repository at this point in the history
  • Loading branch information
cbenthin committed Aug 11, 2017
1 parent 467f13f commit 995e788
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kernels/bvh/bvh.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ namespace embree
{
if (!stat) stat.reset(new BVHNStatistics<N>(this));
Lock<MutexSys> lock(g_printMutex);
std::cout << "BENCHMARK_BUILD " << dt << " " << double(numPrimitives)/dt << " " << stat->sah() << " " << stat->bytesUsed() /* << " BVH" << N << "<" << primTy.name << ">"*/ << std::endl << std::flush;
std::cout << "BENCHMARK_BUILD " << dt << " " << double(numPrimitives)/dt << " " << stat->sah() << " " << stat->bytesUsed() << " BVH" << N << "<" << primTy.name << ">" << std::endl << std::flush;
}
}

Expand Down

0 comments on commit 995e788

Please sign in to comment.