radeonsi/compute: Fix memory leak in radeonsi_launch_grid.

Fixes "Resource leak" defect reported by Coverity.

Signed-off-by: Vinson Lee <vlee@freedesktop.org>
This commit is contained in:
Vinson Lee 2013-06-25 21:37:07 -07:00 committed by Tom Stellard
parent 0e990736f3
commit f12e551810
1 changed files with 1 additions and 0 deletions

View File

@ -234,6 +234,7 @@ static void radeonsi_launch_grid(
rctx->ws->buffer_wait(shader->bo->buf, 0);
FREE(pm4);
FREE(kernel_args);
}