Commit 46056050 authored by Committed by Michel DänzerBrowse files
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 <firstname.lastname@example.org> Reviewed-by: Michel Dänzer <email@example.com>
Showing with 7 additions and 8 deletions