mirror of
https://github.com/genodelabs/genode.git
synced 2024-12-23 23:42:32 +00:00
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:
parent
b157256a2b
commit
ba430dfeac
@ -315,6 +315,8 @@ class Drm_call
|
|||||||
bh.gpu_vaddr_valid = false;
|
bh.gpu_vaddr_valid = false;
|
||||||
}
|
}
|
||||||
_gpu_session.free_buffer(bh.cap);
|
_gpu_session.free_buffer(bh.cap);
|
||||||
|
|
||||||
|
Genode::destroy(&_heap, &bh);
|
||||||
});
|
});
|
||||||
|
|
||||||
if (!handled) {
|
if (!handled) {
|
||||||
|
Loading…
Reference in New Issue
Block a user