Skip to content

fix: Add missing memunlock of local variable when it goes out of scope.#2660

Merged
iphydf merged 1 commit intoTokTok:masterfrom
iphydf:munlock
Feb 9, 2024
Merged

fix: Add missing memunlock of local variable when it goes out of scope.#2660
iphydf merged 1 commit intoTokTok:masterfrom
iphydf:munlock

Conversation

@iphydf
Copy link
Member

@iphydf iphydf commented Feb 9, 2024

Issue found by PVS Studio. It also found another one, but that's a false positive.


This change is Reviewable

@iphydf iphydf added this to the v0.2.19 milestone Feb 9, 2024
@iphydf iphydf marked this pull request as ready for review February 9, 2024 00:29
@codecov
Copy link

codecov bot commented Feb 9, 2024

Codecov Report

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

Comparison is base (dab5fe4) 73.70% compared to head (b9877b3) 73.69%.

Files Patch % Lines
toxcore/group_chats.c 0.00% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master    #2660      +/-   ##
==========================================
- Coverage   73.70%   73.69%   -0.02%     
==========================================
  Files         148      148              
  Lines       30478    30479       +1     
==========================================
- Hits        22464    22461       -3     
- Misses       8014     8018       +4     

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

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 1 of 1 files at r1, all commit messages.
Reviewable status: :shipit: complete! 1 of 1 approvals obtained

Issue found by PVS Studio. It also found another one, but that's a false
positive.
@iphydf iphydf merged commit b9877b3 into TokTok:master Feb 9, 2024
@iphydf iphydf deleted the munlock branch February 9, 2024 17:34
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.

3 participants