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:
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);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue