Commit 6cace499 authored by Louis-Francis Ratté-Boulianne's avatar Louis-Francis Ratté-Boulianne Committed by Adam Jackson
Browse files

modesetting: Fix GBM objects leak when checking for flip

GBM objects were never destroyed after looking for format and
modifier compatibility when deciding whether flipping or copying
a presented pixmap.


Signed-off-by: Louis-Francis Ratté-Boulianne's avatarLouis-Francis Ratté-Boulianne <>
parent e00ada9f
......@@ -263,6 +263,8 @@ ms_present_check_flip(RRCrtcPtr crtc,
format = gbm_bo_get_format(gbm);
modifier = gbm_bo_get_modifier(gbm);
if (!drmmode_is_format_supported(scrn, format, modifier)) {
if (reason)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment