mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2026-06-07 04:08:25 +02:00
Merge branch 'modesetting-pixmap-share-dmabuf-leak-fix' into 'main'
modesetting: fix shared pixmap dmabuf fd leakage See merge request xorg/xserver!2068
This commit is contained in:
commit
7086a7f26d
1 changed files with 1 additions and 0 deletions
|
|
@ -1895,6 +1895,7 @@ msSetSharedPixmapBacking(PixmapPtr ppix, void *fd_handle)
|
|||
ppix->devKind,
|
||||
ppix->drawable.depth,
|
||||
ppix->drawable.bitsPerPixel);
|
||||
close(ihandle);
|
||||
} else {
|
||||
int size = ppix->devKind * ppix->drawable.height;
|
||||
ret = drmmode_SetSlaveBO(ppix, &ms->drmmode, ihandle, ppix->devKind, size);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue