vc4: Fix a leak of the simulator's exec BO's actual vc4_bo.
This commit is contained in:
parent
6c3115af85
commit
f519c3bff1
|
@ -173,6 +173,7 @@ vc4_simulator_flush(struct vc4_context *vc4, struct drm_vc4_submit_cl *args)
|
||||||
if (ret)
|
if (ret)
|
||||||
return ret;
|
return ret;
|
||||||
|
|
||||||
|
vc4_bo_unreference(&exec.exec_bo->bo);
|
||||||
free(exec.exec_bo);
|
free(exec.exec_bo);
|
||||||
|
|
||||||
if (ctex && ctex->bo->simulator_winsys_map) {
|
if (ctex && ctex->bo->simulator_winsys_map) {
|
||||||
|
|
Loading…
Reference in New Issue