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

free more memory on destruction #6348

Merged
merged 4 commits into from
Jun 6, 2024
Merged

free more memory on destruction #6348

merged 4 commits into from
Jun 6, 2024

Conversation

gulafaran
Copy link
Contributor

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.

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.
vaxerski
vaxerski previously approved these changes Jun 6, 2024
Copy link
Member

@vaxerski vaxerski left a comment

Choose a reason for hiding this comment

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

thanks!

@vaxerski
Copy link
Member

vaxerski commented Jun 6, 2024

uhh clang format

@gulafaran
Copy link
Contributor Author

uhh clang format

Im trying to figure out what it needs, effing arch being outdated 🥺

@gulafaran
Copy link
Contributor Author

"/__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

@gulafaran
Copy link
Contributor Author

uhh clang format

yeah i think it comes from this commit 155fe6f heh

@vaxerski
Copy link
Member

vaxerski commented Jun 6, 2024

just clang-format this and I'll merge it and we'll be done

Copy link
Member

@vaxerski vaxerski left a comment

Choose a reason for hiding this comment

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

tanks

@vaxerski vaxerski merged commit af5f249 into hyprwm:main Jun 6, 2024
10 checks passed
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.

2 participants