Simplify drmmode_set_mode_major() and avoid leaking memory.
The function would leak the memory allocated for output_ids. This patch addresses that as well as simplifies the logic somewhat. Signed-off-by:Tom St Denis <tom.stdenis@amd.com> Reviewed-by:
Michel Dänzer <michel.daenzer@amd.com>
Showing
Please register or sign in to comment