Fix memory leak

Found with the Clang Static Analyzer.
This commit is contained in:
Luflosi
2020-11-05 13:15:19 +01:00
parent c440470276
commit bb88b33469

View File

@@ -213,6 +213,7 @@ manually_search_fallback_fonts(CTFontRef current_font, CPUCell *cell) {
CFRelease(new_font); CFRelease(new_font);
} }
} }
CFRelease(fonts);
return ans; return ans;
} }