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
No known key found for this signature in database
GPG Key ID: 4E41E29EDCC345D0

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;
} }