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