Comment # 5
on bug 107384
from Chris Wilson
Sigh. diff --git a/src/loader/loader.c b/src/loader/loader.c index 43275484cc..87b7281f78 100644 --- a/src/loader/loader.c +++ b/src/loader/loader.c @@ -274,7 +274,7 @@ int loader_get_user_preferred_fd(int default_fd, bool *different_device) static int drm_get_pci_id_for_fd(int fd, int *vendor_id, int *chip_id) { - drmDevicePtr device; + drmDevicePtr device = NULL; int ret; if (drmGetDevice2(fd, 0, &device) == 0) {
You are receiving this mail because:
- You are the assignee for the bug.
_______________________________________________ dri-devel mailing list dri-devel@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/dri-devel