Fix mapCount refcounting on unmap, even though the value is unused.

This commit is contained in:
Eric Anholt 2007-09-21 15:58:02 -07:00
parent 3d3a96ad4e
commit 3c995c2c4d

View file

@ -2874,6 +2874,7 @@ int drmBOUnmap(int fd, drmBO *buf)
if (ioctl(fd, DRM_IOCTL_BO_UNMAP, &arg)) {
return -errno;
}
buf->mapCount--;
return 0;
}