-
-
Notifications
You must be signed in to change notification settings - Fork 1k
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
free more memory on destruction #6348
Conversation
if the pointer has a buffer set it wont be freed upon destruction, make asan more happy by adding a destructor and wlr_buf_unlock it on exit.
properly free the animation timer event source on destruction.
properly free the critical signal event source on exit.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
thanks!
uhh clang format |
Im trying to figure out what it needs, effing arch being outdated 🥺 |
"/__w/Hyprland/Hyprland/src/desktop/Popup.cpp:138:6: error: code should be clang-formatted [-Wclang-format-violations" i mean i didnt even touch that file lol |
yeah i think it comes from this commit 155fe6f heh |
just clang-format this and I'll merge it and we'll be done |
clang format.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
tanks
with these most direct leaks reported by asan should be handled, the only thing remaining is the shared/weakptr reports and a few indirect ones inside wlroots/libwayland which im not sure if its just false positives.