Skip to content
Commit 19c4cfc5 authored by Chris Wilson's avatar Chris Wilson
Browse files

intel: Add handle to hashtable before freeing along an error path



drm_intel_gem_bo_free() unconditionally attempts to remove the handle
from the hashtable. This goes horribly wrong if we haven't already added
the bo to the hashtable.

Reported-by: default avatarMichael Thayer <michael.thayer@oracle.com>
Signed-off-by: default avatarChris Wilson <chris@chris-wilson.co.uk>
parent 5ee9cb4b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment