Skip to content

Conversation

@rainyl
Copy link
Owner

@rainyl rainyl commented Jun 1, 2024

#68

@codecov-commenter
Copy link

codecov-commenter commented Jun 1, 2024

Codecov Report

Attention: Patch coverage is 77.77778% with 2 lines in your changes are missing coverage. Please review.

Project coverage is 89.49%. Comparing base (822c0f6) to head (89bf7a4).

Files Patch % Lines
lib/src/imgcodecs/imgcodecs.dart 85.71% 1 Missing ⚠️
lib/src/video/video.dart 50.00% 1 Missing ⚠️

❗ Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files
@@            Coverage Diff             @@
##             main      #69      +/-   ##
==========================================
- Coverage   89.50%   89.49%   -0.02%     
==========================================
  Files          36       36              
  Lines        5165     5167       +2     
==========================================
+ Hits         4623     4624       +1     
- Misses        542      543       +1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@rainyl rainyl merged commit 73e6ace into main Jun 1, 2024
rainyl added a commit that referenced this pull request Jun 1, 2024
@rainyl rainyl deleted the issue68 branch June 3, 2024 09:11
if (!success.value) {
throw CvException(ErrorCode.StsError.code, msg: "imencode failed, check your params");
}
calloc.free(cExt);
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@rainyl shouldn't the free happen before the success.value check? currently cExt wont be freed if imencode fails

Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh, you are right, will be fixed soon

@rainyl rainyl restored the issue68 branch June 4, 2024 01:04
@rainyl rainyl deleted the issue68 branch June 4, 2024 01:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants