diff options
author | arthurhsu@chromium.org <arthurhsu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-08-17 06:12:01 +0000 |
---|---|---|
committer | arthurhsu@chromium.org <arthurhsu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-08-17 06:12:01 +0000 |
commit | be608712a165dc353b1bc513b12f7c9ef663498f (patch) | |
tree | 987c76ebc11a0d7920fdd2ad766e6a3b15fe705b /third_party | |
parent | cc5bd6e24bbb4da4aecbd11217e1e7e04d391fce (diff) | |
download | chromium_src-be608712a165dc353b1bc513b12f7c9ef663498f.zip chromium_src-be608712a165dc353b1bc513b12f7c9ef663498f.tar.gz chromium_src-be608712a165dc353b1bc513b12f7c9ef663498f.tar.bz2 |
Roll sfntly to 54 to address root cause of 92270. Fix leak in our usage of sfntly.
BUG=92270
TEST=none
Review URL: http://codereview.chromium.org/7670020
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@97102 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'third_party')
-rw-r--r-- | third_party/sfntly/src/subsetter/subsetter_impl.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/third_party/sfntly/src/subsetter/subsetter_impl.cc b/third_party/sfntly/src/subsetter/subsetter_impl.cc index 217bd12a..a13ff3b 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: |