summaryrefslogtreecommitdiff
path: root/drivers/video/tegra/dc/overlay.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/video/tegra/dc/overlay.c')
-rw-r--r--drivers/video/tegra/dc/overlay.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/video/tegra/dc/overlay.c b/drivers/video/tegra/dc/overlay.c
index edef51f8d2b0..095f4764b9a4 100644
--- a/drivers/video/tegra/dc/overlay.c
+++ b/drivers/video/tegra/dc/overlay.c
@@ -622,6 +622,7 @@ static int tegra_overlay_release(struct inode *inode, struct file *filp)
list_del(&client->list);
spin_unlock_irqrestore(&client->dev->clients_lock, flags);
+ nvmap_client_put(client->user_nvmap);
put_task_struct(client->task);
kfree(client);