mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 05:18:08 +02:00
gallium/pipe_loader: un-reference udev resources when we're done with them.
Reviewed-by: Tom Stellard <thomas.stellard@amd.com>
CC: "10.0" <mesa-stable@lists.freedesktop.org>
(cherry picked from commit 598f61ba28)
This commit is contained in:
parent
713966c82f
commit
11982ca08d
1 changed files with 3 additions and 0 deletions
|
|
@ -88,6 +88,9 @@ find_drm_pci_id(struct pipe_loader_drm_device *ddev)
|
|||
&ddev->base.u.pci.chip_id) != 2)
|
||||
goto fail;
|
||||
|
||||
udev_device_unref(device);
|
||||
udev_unref(udev);
|
||||
|
||||
return TRUE;
|
||||
|
||||
fail:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue