diff options
author | Tilman Sauerbeck <[email protected]> | 2010-10-31 12:16:25 +0100 |
---|---|---|
committer | Tilman Sauerbeck <[email protected]> | 2010-11-02 21:52:39 +0100 |
commit | 907efeea18efcbb037f19de9eb563a355c92affb (patch) | |
tree | 706937fc235eb065ecdd0a89550ddf474e242063 /src | |
parent | ecb1b8b98f7b2464e29e56a1f1bf87f74129ac08 (diff) |
r600g: Fixed two memory leaks in winsys.
Signed-off-by: Tilman Sauerbeck <[email protected]>
Diffstat (limited to 'src')
-rw-r--r-- | src/gallium/winsys/r600/drm/r600_hw_context.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gallium/winsys/r600/drm/r600_hw_context.c b/src/gallium/winsys/r600/drm/r600_hw_context.c index 2521ff96473..82d5deaad28 100644 --- a/src/gallium/winsys/r600/drm/r600_hw_context.c +++ b/src/gallium/winsys/r600/drm/r600_hw_context.c @@ -611,7 +611,9 @@ void r600_context_fini(struct r600_context *ctx) } free(ctx->range[i].blocks); } + free(ctx->blocks); free(ctx->reloc); + free(ctx->bo); free(ctx->pm4); if (ctx->fence_bo) { r600_bo_reference(ctx->radeon, &ctx->fence_bo, NULL); |