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:
committed by
Tom Stellard
parent
4c6ac9e614
commit
598f61ba28
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user