Skip to content

Commit

Permalink
Readd cleanup code
Browse files Browse the repository at this point in the history
  • Loading branch information
kinarr committed Jan 11, 2024
1 parent 9a8259b commit 2bb717d
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,7 @@ void CppClosePoseLandmarkerResult(PoseLandmarkerResult* result) {
}
delete[] result->segmentation_masks;
result->segmentation_masks = nullptr;
result->segmentation_masks_count = 0;
}

for (uint32_t i = 0; i < result->pose_landmarks_count; ++i) {
Expand Down

0 comments on commit 2bb717d

Please sign in to comment.