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 @@
CFRelease(new_font);
}
}
CFRelease(fonts);
return ans;
}