diff --git a/modules/surface_matching/src/ppf_match_3d.cpp b/modules/surface_matching/src/ppf_match_3d.cpp index f8477a38f..c5c25e27e 100644 --- a/modules/surface_matching/src/ppf_match_3d.cpp +++ b/modules/surface_matching/src/ppf_match_3d.cpp @@ -583,9 +583,7 @@ void PPF3DDetector::match(const Mat& pc, std::vector& results, const poseList.push_back(pose); } -#if defined (_OPENMP) free(accumulator); -#endif } // TODO : Make the parameters relative if not arguments.