diff options
author | reed@android.com <reed@android.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2009-03-06 15:57:26 +0000 |
---|---|---|
committer | reed@android.com <reed@android.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2009-03-06 15:57:26 +0000 |
commit | 62533ed6bb490e9abf5d02686d897a93c5e85d51 (patch) | |
tree | a4aafafa76801ac789098fb577530577f63188f8 /src/ports | |
parent | fb12c3e6ba84f95dc15fbaddc239dede0ba1d60e (diff) |
fix leak in Deserialize
git-svn-id: http://skia.googlecode.com/svn/trunk@112 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'src/ports')
-rw-r--r-- | src/ports/SkFontHost_android.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ports/SkFontHost_android.cpp b/src/ports/SkFontHost_android.cpp index 67c78fb87a..43bbde3ed9 100644 --- a/src/ports/SkFontHost_android.cpp +++ b/src/ports/SkFontHost_android.cpp @@ -535,7 +535,7 @@ SkTypeface* SkFontHost::Deserialize(SkStream* stream) { } } } - return SkFontHost::CreateTypeface(NULL, NULL, (SkTypeface::Style)style); + return NULL; } /////////////////////////////////////////////////////////////////////////////// |