Skip to content

allocators: drm-dumb: Fix non-thread safe dmabuf allocator creation

If the allocation function get called from multiple threads at the same time, multiple allocators may get created but only one get saved. Leading to other allocators to be leaked. Simply create it once in the instance initialization.

Fixes: #2456 (closed)

Merge request reports