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(new_font);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
CFRelease(fonts);
|
||||||
return ans;
|
return ans;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user