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

sched/mqueue: reclaim unsent message #12402

Merged
merged 1 commit into from
May 26, 2024
Merged

sched/mqueue: reclaim unsent message #12402

merged 1 commit into from
May 26, 2024

Conversation

yf13
Copy link
Contributor

@yf13 yf13 commented May 26, 2024

Summary

This fixes a memory leak in mq_timedsend.c encoutnered during ostest.

Impact

timed mqueue

Testing

  • Local test with rv-virt/nsh
  • CI checks

This reclaims the allocated message if it can't be sent to avoid
memory leaks.

Signed-off-by: Yanfeng Liu <yfliu2008@qq.com>
@acassis acassis merged commit 0fc2e74 into apache:master May 26, 2024
25 of 26 checks passed
@yf13 yf13 deleted the mqueue branch August 1, 2024 11:35
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.

3 participants