https://bugs.kde.org/show_bug.cgi?id=482768

Marco Martin <notm...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Latest Commit|https://invent.kde.org/plas |https://invent.kde.org/plas
                   |ma/libkscreen/-/commit/035f |ma/libkscreen/-/commit/d35c
                   |3c2da5838d0f721819b08456fe2 |1657f4c533ae15ddbc8a41d7990
                   |c43e74648                   |87557a342

--- Comment #23 from Marco Martin <notm...@gmail.com> ---
Git commit d35c1657f4c533ae15ddbc8a41d799087557a342 by Marco Martin.
Committed on 12/07/2024 at 12:58.
Pushed by mart into branch 'Plasma/6.1'.

Destroy the registry when WaylandConfig gets deleted

A pointer to WaylandConfig gets passed to wl_registry_add_listener
but this is global and can trigger also when WaylandConfig has
just been deleted and wl_registry is leaking


(cherry picked from commit 035f3c2da5838d0f721819b08456fe2c43e74648)

da99bb03 destroy the callback when WaylandConfig gets deleted
32d13ab6 destroy the registry
fabf6ec9 adress comments
b2dfe208 removedead code

Co-authored-by: Marco Martin <notm...@gmail.com>

M  +7    -0    backends/kwayland/waylandconfig.cpp
M  +2    -1    backends/kwayland/waylandconfig.h

https://invent.kde.org/plasma/libkscreen/-/commit/d35c1657f4c533ae15ddbc8a41d799087557a342

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to