fix null edid more - found hole missed in last fix

adds more fix on top 80f92ee486
This commit is contained in:
Carsten Haitzler 2020-06-14 14:00:48 +01:00
parent 26309766b5
commit 70a70658cd
1 changed files with 1 additions and 1 deletions

View File

@ -131,7 +131,7 @@ _backlight_devices_zone_device_find(E_Zone *zone)
id = zone->randr2_id;
if (!id) id = "/";
tmp = strdup(zone->randr2_id);
tmp = strdup(id);
if (!tmp) return NULL;
sep = strchr(tmp, '/');
if (!sep)