Skip to content
Snippets Groups Projects
Commit b7cc0743 authored by Dave Airlie's avatar Dave Airlie
Browse files

radv: for external memory imports close the fd on import success


If we get an fd, we need to close it before returning.

Fixes CTS test dEQP-VK.api.external.memory.opaque_fd.dedicated.device_only.import_multiple_times

Fixes: b7082970 (radv: Implement VK_KHR_external_memory)
Reviewed-by: default avatarJason Ekstrand <jason@jlekstrand.net>
Signed-off-by: default avatarDave Airlie <airlied@redhat.com>
parent daaf7efb
No related branches found
No related tags found
No related merge requests found
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