libdrm/iris: destroy Buffer_handle object

When the client frees the buffer, destroy the corresponding
Buffer_handle as well.

Fixes #4266.
This commit is contained in:
Josef Söntgen 2021-09-27 16:09:32 +02:00 committed by Norman Feske
parent b157256a2b
commit ba430dfeac

View File

@ -315,6 +315,8 @@ class Drm_call
bh.gpu_vaddr_valid = false;
}
_gpu_session.free_buffer(bh.cap);
Genode::destroy(&_heap, &bh);
});
if (!handled) {