diff --git a/src/display_manager.c b/src/display_manager.c index 4f9da149..4ac0b630 100644 --- a/src/display_manager.c +++ b/src/display_manager.c @@ -124,6 +124,7 @@ CFStringRef display_manager_arrangement_display_uuid(int arrangement) CFMutableArrayRef mut_displays = CFArrayCreateMutableCopy(NULL, count, displays); CFArraySortValues(mut_displays, all, &coordinate_comparator, NULL); result = CFArrayGetValueAtIndex(mut_displays, index); + CFRelease(mut_displays); } }