Skip to content
Commit 8cb1070e authored by Nanley Chery's avatar Nanley Chery Committed by Dylan Baker
Browse files

iris: Don't leak the resource for unsupported modifier



Make sure the res struct is free'd before returning.

Fixes: 2dce0e94 ("iris: Initial commit of a new 'iris' driver for Intel Gen8+ GPUs.")
Reviewed-by: default avatarSagar Ghuge <sagar.ghuge@intel.com>
Reviewed-by: default avatarKenneth Graunke <kenneth@whitecape.org>
(cherry picked from commit f2fc5dec)
parent 88ca3cf1
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