Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 260151
b: refs/heads/master
c: 8fe198b
h: refs/heads/master
i:
  260149: c715c90
  260147: 54582fd
  260143: 35538aa
v: v3
  • Loading branch information
Marcin Slusarz authored and Ben Skeggs committed Jun 26, 2011
1 parent 624b5c2 commit c84549d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 0de53a546b4f7056d1404e40320e57aad723621c
refs/heads/master: 8fe198b2c6fd8455db9f07d712ee54e2a1d02783
4 changes: 3 additions & 1 deletion trunk/drivers/gpu/drm/nouveau/nouveau_gem.c
Original file line number Diff line number Diff line change
Expand Up @@ -113,8 +113,10 @@ nouveau_gem_object_close(struct drm_gem_object *gem, struct drm_file *file_priv)

vma = nouveau_bo_vma_find(nvbo, fpriv->vm);
if (vma) {
if (--vma->refcount == 0)
if (--vma->refcount == 0) {
nouveau_bo_vma_del(nvbo, vma);
kfree(vma);
}
}
ttm_bo_unreserve(&nvbo->bo);
}
Expand Down

0 comments on commit c84549d

Please sign in to comment.