Fix memory leak
Found with the Clang Static Analyzer.
This commit is contained in:
parent
c440470276
commit
bb88b33469
1 changed files with 1 additions and 0 deletions
|
|
@ -213,6 +213,7 @@
|
|||
CFRelease(new_font);
|
||||
}
|
||||
}
|
||||
CFRelease(fonts);
|
||||
return ans;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue