Skip to content
Commit 69396e24 authored by Kirill Burtsev's avatar Kirill Burtsev Committed by Juan A. Suarez Romero
Browse files

loader: free error state, when checking the drawable type



Currently we distinguish if the drawable is a window or pixmap by
checking xcb_present_select_input throws an error or not.

Yet, we don't always free the error state returned by xcb.

Cc: Kirill Burtsev <kirill.burtsev@qt.io>
Cc: Boyan Ding <boyan.j.ding@gmail.com>
Fixes: 6bd9ba7d ("loader: Add dri3 helper")
Reviewed-by: default avatarEmil Velikov <emil.velikov@collabora.com>
[Emil: add commit message, fixes tag]
Signed-off-by: default avatarEmil Velikov <emil.velikov@collabora.com>
(cherry picked from commit a5393164)
parent eb043007
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment