mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2026-05-05 00:38:00 +02:00
xwayland: fix xdg_output leak
The xdg_output wasn't cleaned up when destroying the xwl_output.
Signed-off-by: Simon Ser <contact@emersion.fr>
(cherry picked from commit 6f63873da5)
This commit is contained in:
parent
1dbb96ae48
commit
9521820e7b
1 changed files with 2 additions and 0 deletions
|
|
@ -701,6 +701,8 @@ err:
|
|||
void
|
||||
xwl_output_destroy(struct xwl_output *xwl_output)
|
||||
{
|
||||
if (xwl_output->xdg_output)
|
||||
zxdg_output_v1_destroy(xwl_output->xdg_output);
|
||||
wl_output_destroy(xwl_output->output);
|
||||
free(xwl_output);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue