diff --git a/src/bin/e_backlight.c b/src/bin/e_backlight.c index d2f9964a8..cdb2c6a3f 100644 --- a/src/bin/e_backlight.c +++ b/src/bin/e_backlight.c @@ -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)