mirror of
https://github.com/brl/mutter.git
synced 2024-11-25 09:30:45 -05:00
backends/x11: Don't leak XRRGetPanning result
Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1728>
This commit is contained in:
parent
0e396ee7bb
commit
e77e454d34
@ -271,6 +271,7 @@ meta_crtc_xrandr_new (MetaGpuXrandr *gpu_xrandr,
|
|||||||
.height = xrandr_crtc->height,
|
.height = xrandr_crtc->height,
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
XRRFreePanning (panning);
|
||||||
|
|
||||||
modes = meta_gpu_get_modes (gpu);
|
modes = meta_gpu_get_modes (gpu);
|
||||||
for (i = 0; i < (unsigned int) resources->nmode; i++)
|
for (i = 0; i < (unsigned int) resources->nmode; i++)
|
||||||
|
Loading…
Reference in New Issue
Block a user