Skip to content

Commit 2465449

Browse files
committed
surface_matching/PPF3DDetector::match : fix memory leak
1 parent 9d32f0c commit 2465449

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

modules/surface_matching/src/ppf_match_3d.cpp

-2
Original file line numberDiff line numberDiff line change
@@ -583,9 +583,7 @@ void PPF3DDetector::match(const Mat& pc, std::vector<Pose3DPtr>& results, const
583583
poseList.push_back(pose);
584584
}
585585

586-
#if defined (_OPENMP)
587586
free(accumulator);
588-
#endif
589587
}
590588

591589
// TODO : Make the parameters relative if not arguments.

0 commit comments

Comments
 (0)