mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-03-12 00:20:43 +01: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>
This commit is contained in:
parent
4c6ac9e614
commit
598f61ba28
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