mirror of
https://github.com/X11Libre/xserver.git
synced 2026-03-24 10:14:52 +00: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>
This commit is contained in:
committed by
Olivier Fourdan
parent
659260a0b7
commit
6f63873da5
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user