diff --git a/src/util/drm_common.c b/src/util/drm_common.c index 9ea7d79cd..e0fca384a 100644 --- a/src/util/drm_common.c +++ b/src/util/drm_common.c @@ -194,7 +194,7 @@ const char * drm_bus_type_name(uint8_t bus) { drmFreeDevice(&ddev); } - close(fd); // because O_CLOEXEC not recognized + close(fd); } DBGF(debug, "Done. Returning: %s", sbool(supports_drm)); return supports_drm;