-
Notifications
You must be signed in to change notification settings - Fork 181
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
KbdRc
and SeatRc
are leaked
#1422
Comments
Looks like |
Or I guess |
This might have been fixed by: #1516 |
ids1024
added a commit
to ids1024/smithay
that referenced
this issue
Feb 25, 2025
This fixes Smithay#1422. This can be tested by adding `Drop` impls that print to those two types, or using tools that detect leaks.
ids1024
added a commit
to ids1024/smithay
that referenced
this issue
Feb 25, 2025
This fixes Smithay#1422. This can be tested by adding `Drop` impls that print to those two types, or using tools that detect leaks.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Looking at
valgrind
logs of anvil, it seems allocations that are part ofKbdRc
are never freed when exiting cleanly. It seemsDrop
is never called onKbdRc
orSeatRc
.I think
known_kbds
needs to useWeak
to avoid a reference cycle. I'm still unsure what is preventingSeatRc
from being freed...The text was updated successfully, but these errors were encountered: