diff options
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a/tsg_gk20a.c')
-rw-r--r-- | drivers/gpu/nvgpu/gk20a/tsg_gk20a.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/tsg_gk20a.c b/drivers/gpu/nvgpu/gk20a/tsg_gk20a.c index 181140d2..0541f430 100644 --- a/drivers/gpu/nvgpu/gk20a/tsg_gk20a.c +++ b/drivers/gpu/nvgpu/gk20a/tsg_gk20a.c | |||
@@ -517,6 +517,7 @@ int gk20a_tsg_dev_release(struct inode *inode, struct file *filp) | |||
517 | return -ENODEV; | 517 | return -ENODEV; |
518 | 518 | ||
519 | kref_put(&tsg->refcount, gk20a_tsg_release); | 519 | kref_put(&tsg->refcount, gk20a_tsg_release); |
520 | kfree(priv); | ||
520 | return 0; | 521 | return 0; |
521 | } | 522 | } |
522 | 523 | ||