Commit 35e4909b authored by Ben Skeggs's avatar Ben Skeggs
Browse files

drm/nouveau/mmu: fix comptag memory leak



Signed-off-by: default avatarBen Skeggs <bskeggs@redhat.com>
parent 90e2e96e
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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;
}