summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/freedreno/freedreno_context.c
diff options
context:
space:
mode:
authorRob Clark <[email protected]>2018-07-30 08:38:28 -0400
committerRob Clark <[email protected]>2018-08-14 15:46:34 -0400
commit13b9d32fb1d846b207f330140b53bda3047ee3af (patch)
treecdb86b6e2613d7155cf80cbc1df7dacc80d2dfdd /src/gallium/drivers/freedreno/freedreno_context.c
parentdc9705f30deabb789735966e3d2278e3c9e00c8a (diff)
freedreno: move free() into fdN_context_destroy()
Following patches will be doing further cleanup after calling fd_context_destroy() so it is easier if we move the free() into the per-gen backend code. Signed-off-by: Rob Clark <[email protected]>
Diffstat (limited to 'src/gallium/drivers/freedreno/freedreno_context.c')
-rw-r--r--src/gallium/drivers/freedreno/freedreno_context.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/gallium/drivers/freedreno/freedreno_context.c b/src/gallium/drivers/freedreno/freedreno_context.c
index e1324e8c0af..2eeb85e315e 100644
--- a/src/gallium/drivers/freedreno/freedreno_context.c
+++ b/src/gallium/drivers/freedreno/freedreno_context.c
@@ -172,8 +172,6 @@ fd_context_destroy(struct pipe_context *pctx)
(uint32_t)ctx->stats.batch_gmem, (uint32_t)ctx->stats.batch_nondraw,
(uint32_t)ctx->stats.batch_restore);
}
-
- FREE(ctx);
}
static void