summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/gk20a/ce2_gk20a.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a/ce2_gk20a.c')
-rw-r--r--drivers/gpu/nvgpu/gk20a/ce2_gk20a.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/ce2_gk20a.c b/drivers/gpu/nvgpu/gk20a/ce2_gk20a.c
index cce7a769..7aae2584 100644
--- a/drivers/gpu/nvgpu/gk20a/ce2_gk20a.c
+++ b/drivers/gpu/nvgpu/gk20a/ce2_gk20a.c
@@ -436,7 +436,7 @@ u32 gk20a_ce_create_context_with_cb(struct device *dev,
436 436
437 err = nvgpu_mutex_init(&ce_ctx->gpu_ctx_mutex); 437 err = nvgpu_mutex_init(&ce_ctx->gpu_ctx_mutex);
438 if (err) { 438 if (err) {
439 kfree(ce_ctx); 439 nvgpu_kfree(g, ce_ctx);
440 return ctx_id; 440 return ctx_id;
441 } 441 }
442 442