diff options
Diffstat (limited to 'libs/rs/rsFont.cpp')
-rw-r--r-- | libs/rs/rsFont.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/libs/rs/rsFont.cpp b/libs/rs/rsFont.cpp index 633129af0879..d171a48154f2 100644 --- a/libs/rs/rsFont.cpp +++ b/libs/rs/rsFont.cpp @@ -36,8 +36,6 @@ using namespace android::renderscript; Font::Font(Context *rsc) : ObjectBase(rsc), mCachedGlyphs(NULL) { - mAllocFile = __FILE__; - mAllocLine = __LINE__; mInitialized = false; mHasKerning = false; mFace = NULL; @@ -308,7 +306,7 @@ Font * Font::create(Context *rsc, const char *name, uint32_t fontSize, uint32_t return newFont; } - delete newFont; + ObjectBase::checkDelete(newFont); return NULL; } |