surface_matching/PPF3DDetector::match : fix memory leak

pull/2778/head
Enrico Ronconi 4 years ago
parent 2ad7203cc1
commit cfcd5b6636
  1. 2
      modules/surface_matching/src/ppf_match_3d.cpp

@ -583,9 +583,7 @@ void PPF3DDetector::match(const Mat& pc, std::vector<Pose3DPtr>& results, const
poseList.push_back(pose); poseList.push_back(pose);
} }
#if defined (_OPENMP)
free(accumulator); free(accumulator);
#endif
} }
// TODO : Make the parameters relative if not arguments. // TODO : Make the parameters relative if not arguments.

Loading…
Cancel
Save