Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1463)

Unified Diff: third_party/sfntly/src/subsetter/subsetter_impl.cc

Issue 7670020: Roll sfntly to 54 to address root cause of 92270. Fix leak in our usage of sfntly. (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Created 9 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « DEPS ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/sfntly/src/subsetter/subsetter_impl.cc
diff --git a/third_party/sfntly/src/subsetter/subsetter_impl.cc b/third_party/sfntly/src/subsetter/subsetter_impl.cc
index 217bd12a44bcbd0a7cace6390d5f85822fedf4b1..a13ff3bb47e7ff9abbb9f1a39a765e51cdd403ae 100644
--- a/third_party/sfntly/src/subsetter/subsetter_impl.cc
+++ b/third_party/sfntly/src/subsetter/subsetter_impl.cc
@@ -173,6 +173,7 @@ bool SubsetterImpl::HasName(const char* font_name, Font* font) {
name_table->NameId(i));
UChar* name_part = name_table->Name(i);
ConstructName(name_part, &(names[hash_code]), name_table->NameId(i));
+ delete[] name_part;
break;
}
default:
« no previous file with comments | « DEPS ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698