mirror of
https://github.com/X11Libre/xf86-video-ati.git
synced 2026-03-24 01:24:43 +00:00
Don't allocate drmmode_output->props twice
This was accidentally duplicated when porting RandR lease support from amdgpu. Trivial.
This commit is contained in:
committed by
Michel Dänzer
parent
499d2f9d5d
commit
64bd009d17
@@ -1666,11 +1666,6 @@ drmmode_output_create_resources(xf86OutputPtr output)
|
||||
}
|
||||
}
|
||||
|
||||
drmmode_output->props =
|
||||
calloc(mode_output->count_props + 1, sizeof(drmmode_prop_rec));
|
||||
if (!drmmode_output->props)
|
||||
return;
|
||||
|
||||
drmmode_output->props = calloc(mode_output->count_props + 1, sizeof(drmmode_prop_rec));
|
||||
if (!drmmode_output->props)
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user