xwayland: Fix XRROutputInfo leak when setting primary output
The call to XRRFreeOutputInfo() seems to have been accidentally dropped.
Fixes: 1333d92fa
("xwayland: Set primary monitor using connector name")
Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/3994>
This commit is contained in:
parent
d1a1b7bfdd
commit
898d802c5e
1 changed files with 3 additions and 0 deletions
|
@ -1279,8 +1279,11 @@ meta_xwayland_set_primary_output (MetaX11Display *x11_display)
|
|||
{
|
||||
XRRSetOutputPrimary (xdisplay, DefaultRootWindow (xdisplay),
|
||||
output_id);
|
||||
XRRFreeOutputInfo (xrandr_output);
|
||||
break;
|
||||
}
|
||||
|
||||
XRRFreeOutputInfo (xrandr_output);
|
||||
}
|
||||
mtk_x11_error_trap_pop (x11_display->xdisplay);
|
||||
|
||||
|
|
Loading…
Reference in a new issue