diff options
author | Maarten Lankhorst <maarten.lankhorst@canonical.com> | 2013-07-08 06:50:54 +0200 |
---|---|---|
committer | Ben Skeggs <bskeggs@redhat.com> | 2013-07-10 02:47:28 +0200 |
commit | fdfb8332651db7a280851dfccfc4f0cff4bcd052 (patch) | |
tree | 6236b4c982af426c8951c33a6489fd9ad9769669 /drivers/gpu/drm/nouveau/nouveau_fbcon.c | |
parent | drm/nouveau: fix locking issues in page flipping paths (diff) | |
download | linux-fdfb8332651db7a280851dfccfc4f0cff4bcd052.tar.xz linux-fdfb8332651db7a280851dfccfc4f0cff4bcd052.zip |
drm/nouveau: fix some error-path leaks in fbcon handling code
Signed-off-by: Maarten Lankhorst <maarten.lankhorst@canonical.com>
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/nouveau/nouveau_fbcon.c')
-rw-r--r-- | drivers/gpu/drm/nouveau/nouveau_fbcon.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/nouveau/nouveau_fbcon.c b/drivers/gpu/drm/nouveau/nouveau_fbcon.c index 9352010030e9..4c1bc061fae2 100644 --- a/drivers/gpu/drm/nouveau/nouveau_fbcon.c +++ b/drivers/gpu/drm/nouveau/nouveau_fbcon.c @@ -385,6 +385,7 @@ out_unlock: mutex_unlock(&dev->struct_mutex); if (chan) nouveau_bo_vma_del(nvbo, &fbcon->nouveau_fb.vma); + nouveau_bo_unmap(nvbo); out_unpin: nouveau_bo_unpin(nvbo); out_unref: |