mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-10-05 00:20:32 +00:00
drm/nouveau/mmu: fix comptag memory leak
[ Upstream commit 35e4909b6a
]
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
This commit is contained in:
parent
a4de4c0ccc
commit
ab45b8e036
1 changed files with 1 additions and 1 deletions
|
@ -91,8 +91,8 @@ nvkm_memory_tags_get(struct nvkm_memory *memory, struct nvkm_device *device,
|
|||
}
|
||||
|
||||
refcount_set(&tags->refcount, 1);
|
||||
*ptags = memory->tags = tags;
|
||||
mutex_unlock(&fb->subdev.mutex);
|
||||
*ptags = tags;
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue