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

fix a few asan reported leaks on exit of hyprland #5852

Merged
merged 5 commits into from
May 3, 2024

Commits on May 3, 2024

  1. notifications: free cairo images on destruction

    asan reports a leak on exit if we dont free the image we created in the
    draw function. add a destructor and free images on exit.
    gulafaran committed May 3, 2024
    Configuration menu
    Copy the full SHA
    b4b73ba View commit details
    Browse the repository at this point in the history
  2. compositor: destroy wlroots types on exit

    there are a few types not being destroyed on exit and causing a leak on
    exit in wlroots reported by asan, add those.
    gulafaran committed May 3, 2024
    Configuration menu
    Copy the full SHA
    fe7cdb3 View commit details
    Browse the repository at this point in the history
  3. cursormgr: ensure we destroy cursor mgr on exit

    add a destructor and call wlr_xcursor_manager_destroy on the manager on
    destruction, leak reported by asan.
    gulafaran committed May 3, 2024
    Configuration menu
    Copy the full SHA
    144af93 View commit details
    Browse the repository at this point in the history
  4. keybindmgr: free state and keymap

    add missing keymap_unref on creation, and add a destructor and free the
    state on exit. leak reported by asan.
    gulafaran committed May 3, 2024
    Configuration menu
    Copy the full SHA
    8576f90 View commit details
    Browse the repository at this point in the history
  5. skeyboard: add destructor and free state

    free the state on destruction of keyboard, reported as leak by asan
    gulafaran committed May 3, 2024
    Configuration menu
    Copy the full SHA
    1f899b5 View commit details
    Browse the repository at this point in the history