mirror of
https://gitlab.freedesktop.org/mesa/drm.git
synced 2026-05-01 11:38:00 +02:00
Fix mapCount refcounting on unmap, even though the value is unused.
This commit is contained in:
parent
3d3a96ad4e
commit
3c995c2c4d
1 changed files with 1 additions and 0 deletions
|
|
@ -2874,6 +2874,7 @@ int drmBOUnmap(int fd, drmBO *buf)
|
|||
if (ioctl(fd, DRM_IOCTL_BO_UNMAP, &arg)) {
|
||||
return -errno;
|
||||
}
|
||||
buf->mapCount--;
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue