Skip to content

Commit c540409

Browse files
committed
Merge pull request #1635 from catree:fix_aruco_apriltag_corner_memory_leak
2 parents 49b1cdf + de4eb31 commit c540409

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

modules/aruco/src/aruco.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1094,6 +1094,8 @@ static void _apriltag(Mat im_orig, const Ptr<DetectorParameters> & _params, std:
10941094

10951095
candidates.push_back(corners);
10961096
}
1097+
1098+
_zarray_destroy(quads);
10971099
}
10981100

10991101

0 commit comments

Comments
 (0)