Permalink
Browse files

shm->users should not be decreased when gdev_raw_mem_share fails

  • Loading branch information...
1 parent 7e7ec62 commit 0dbaf7f02c85cde6ce213f91de7eaf04d2484379 @wkbjerry wkbjerry committed Sep 5, 2012
Showing with 0 additions and 1 deletion.
  1. +0 −1 common/gdev_nvidia_shm.c
View
1 common/gdev_nvidia_shm.c
@@ -310,7 +310,6 @@ struct gdev_mem *gdev_shm_attach(struct gdev_vas *vas, struct gdev_mem *mem, uin
fail_swap:
gdev_raw_mem_unshare(new);
fail_shm:
- mem->shm->users--;
fail_heap:
fail_victim:

0 comments on commit 0dbaf7f

Please sign in to comment.