mirror of
https://github.com/kovidgoyal/kitty
synced 2026-06-08 22:28:24 +02:00
Fix memory leak
Found with the Clang Static Analyzer.
This commit is contained in:
@@ -213,6 +213,7 @@ manually_search_fallback_fonts(CTFontRef current_font, CPUCell *cell) {
|
||||
CFRelease(new_font);
|
||||
}
|
||||
}
|
||||
CFRelease(fonts);
|
||||
return ans;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user