Fix memory leak
Found with the Clang Static Analyzer.
This commit is contained in:
parent
c440470276
commit
bb88b33469
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user