Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Correct a use-after-free and fix some memory leaks. #2488

Merged
merged 1 commit into from
Dec 21, 2023

Conversation

iphydf
Copy link
Member

@iphydf iphydf commented Dec 20, 2023

This fixes the coverage build to include unit tests.


This change is Reviewable

@iphydf iphydf added this to the v0.2.19 milestone Dec 20, 2023
@iphydf iphydf force-pushed the find-gtest branch 10 times, most recently from 3270d8f to b98a063 Compare December 21, 2023 04:53
Copy link

codecov bot commented Dec 21, 2023

Codecov Report

Attention: 6 lines in your changes are missing coverage. Please review.

Comparison is base (4b1cfa3) 69.81% compared to head (425216d) 68.96%.

Files Patch % Lines
toxcore/tox.c 50.00% 6 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master    #2488      +/-   ##
==========================================
- Coverage   69.81%   68.96%   -0.86%     
==========================================
  Files          75       89      +14     
  Lines       25999    27769    +1770     
==========================================
+ Hits        18151    19150     +999     
- Misses       7848     8619     +771     

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

@iphydf iphydf force-pushed the find-gtest branch 2 times, most recently from 6a7038f to 5a1cfb4 Compare December 21, 2023 05:09
@iphydf iphydf marked this pull request as ready for review December 21, 2023 05:10
@iphydf iphydf requested a review from a team as a code owner December 21, 2023 05:10
@iphydf iphydf changed the title test: Use find_package to find gtest. fix: Correct a use-after-free and fix some memory leaks. Dec 21, 2023
Copy link
Member

@JFreegman JFreegman left a comment

Choose a reason for hiding this comment

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

Reviewed 24 of 24 files at r1, all commit messages.
Reviewable status: :shipit: complete! 3 of 1 approvals obtained

Also: use `find_package` to find gtest. This fixes the coverage build to
include unit tests.
@toktok-releaser toktok-releaser merged commit 425216d into TokTok:master Dec 21, 2023
@iphydf iphydf deleted the find-gtest branch December 21, 2023 18:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

5 participants