diff options
author | Vinson Lee <[email protected]> | 2013-06-25 21:37:07 -0700 |
---|---|---|
committer | Tom Stellard <[email protected]> | 2013-06-27 10:03:33 -0700 |
commit | f12e5518106155fb2f17ee5e8db40eebafa23b5d (patch) | |
tree | faa510dd3b47b28bb66b21e5ad5e5a1318e0f58c /src | |
parent | 0e990736f34c43f553d4516bc6ffb8fe521e3806 (diff) |
radeonsi/compute: Fix memory leak in radeonsi_launch_grid.
Fixes "Resource leak" defect reported by Coverity.
Signed-off-by: Vinson Lee <[email protected]>
Diffstat (limited to 'src')
-rw-r--r-- | src/gallium/drivers/radeonsi/radeonsi_compute.c | 1 |
1 files changed, 1 insertions, 0 deletions
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); } |