|
|
@ -74,9 +74,11 @@ get_drm_connector_type(struct udev_device *drm_device, uint32_t connector_id) |
|
|
|
drmModeFreeConnector(connector); |
|
|
|
drmModeFreeConnector(connector); |
|
|
|
drmModeFreeResources(res); |
|
|
|
drmModeFreeResources(res); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
close(fd); |
|
|
|
return connector_type; |
|
|
|
return connector_type; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
close(fd); |
|
|
|
drmModeFreeResources(res); |
|
|
|
drmModeFreeResources(res); |
|
|
|
return -1; |
|
|
|
return -1; |
|
|
|
} |
|
|
|
} |
|
|
|