projects
/
platform
/
upstream
/
libdrm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3d3a96a
)
Fix mapCount refcounting on unmap, even though the value is unused.
author
Eric Anholt
<eric@anholt.net>
Fri, 21 Sep 2007 22:58:02 +0000
(15:58 -0700)
committer
Eric Anholt
<eric@anholt.net>
Fri, 21 Sep 2007 22:58:02 +0000
(15:58 -0700)
libdrm/xf86drm.c
patch
|
blob
|
history
diff --git
a/libdrm/xf86drm.c
b/libdrm/xf86drm.c
index 63242bce982403164f8e9784e9d6d14f0b94e17e..0849f89697a296f8631df109a12c5a1e1389cb2d 100644
(file)
--- a/
libdrm/xf86drm.c
+++ b/
libdrm/xf86drm.c
@@
-2874,6
+2874,7
@@
int drmBOUnmap(int fd, drmBO *buf)
if (ioctl(fd, DRM_IOCTL_BO_UNMAP, &arg)) {
return -errno;
}
+ buf->mapCount--;
return 0;
}