vc4: Fix a leak of the simulator's exec BO's actual vc4_bo.

This commit is contained in:
Eric Anholt 2014-12-13 16:37:28 -08:00
parent 6c3115af85
commit f519c3bff1
1 changed files with 1 additions and 0 deletions

View File

@ -173,6 +173,7 @@ vc4_simulator_flush(struct vc4_context *vc4, struct drm_vc4_submit_cl *args)
if (ret)
return ret;
vc4_bo_unreference(&exec.exec_bo->bo);
free(exec.exec_bo);
if (ctex && ctex->bo->simulator_winsys_map) {