nouveau/mme: Don't leak data_bo
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/30033>
This commit is contained in:
committed by
Marge Bot
parent
7173ae1130
commit
c6c4483d0f
@@ -48,6 +48,8 @@ mme_hw_runner::~mme_hw_runner()
|
||||
{
|
||||
if (syncobj)
|
||||
drmSyncobjDestroy(dev->fd, syncobj);
|
||||
if (data_bo)
|
||||
nouveau_ws_bo_destroy(data_bo);
|
||||
if (push_bo) {
|
||||
nouveau_ws_bo_unmap(push_bo, push_map);
|
||||
nouveau_ws_bo_destroy(push_bo);
|
||||
|
||||
Reference in New Issue
Block a user