-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix memory leak in DirectWrite backend
This fixes a memory leak due to a missing call to release on the localized names in populateFamilyAliases(). The DirectWriteScope makes this automatic when it goes out of scope. We did release in the other places, but for hardening the code a bit, this also adjusts them to use the scope guard. Change-Id: I88402fad930e36cdd3a78244941fb53ca214520e Reviewed-by: Lars Knoll <[email protected]>
- Loading branch information
1 parent
9e64088
commit ec38f00
Showing
1 changed file
with
24 additions
and
40 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters