Skip to content
Commit 77dce9a0 authored by Damien Lespiau's avatar Damien Lespiau
Browse files

intel: Don't leak the test page in an has_userptr() error path



When handling the error on GEM_CLOSE, we weren't freeing the allocated
page. Plug that.

Reviewed-by: default avatarTvrtko Ursulin <tvrtko.ursulin@intel.com>
Signed-off-by: default avatarDamien Lespiau <damien.lespiau@intel.com>
parent 0fa1dbf6
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