Skip to content

compositor: Fix X resource leak on error path in border_size

Rayz requested to merge Rayz/xfwm4:fixes-issue-824 into master

XFixesSetPictureClipRegion() can cause a XError, there will be a X resource leak when return from error path. Destroy the region before return to fix it.

Signed-off-by: Ruihai Zhou zhou.ruihai@gd-linux.com Closes: #824

Merge request reports

Loading