From f12e5518106155fb2f17ee5e8db40eebafa23b5d Mon Sep 17 00:00:00 2001 From: Vinson Lee Date: Tue, 25 Jun 2013 21:37:07 -0700 Subject: [PATCH] radeonsi/compute: Fix memory leak in radeonsi_launch_grid. Fixes "Resource leak" defect reported by Coverity. Signed-off-by: Vinson Lee --- src/gallium/drivers/radeonsi/radeonsi_compute.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/gallium/drivers/radeonsi/radeonsi_compute.c b/src/gallium/drivers/radeonsi/radeonsi_compute.c index ed5158752ca..5fb298a0455 100644 --- a/src/gallium/drivers/radeonsi/radeonsi_compute.c +++ b/src/gallium/drivers/radeonsi/radeonsi_compute.c @@ -234,6 +234,7 @@ static void radeonsi_launch_grid( rctx->ws->buffer_wait(shader->bo->buf, 0); FREE(pm4); + FREE(kernel_args); } -- 2.30.2