Merge change 23357 into eclair
* changes: Fix double-free problem in EmojiFactory.
This commit is contained in:
@@ -197,8 +197,11 @@ static jobject android_emoji_EmojiFactory_getBitmapFromAndroidPua(
|
|||||||
|
|
||||||
static void android_emoji_EmojiFactory_destructor(
|
static void android_emoji_EmojiFactory_destructor(
|
||||||
JNIEnv* env, jobject obj, jint nativeEmojiFactory) {
|
JNIEnv* env, jobject obj, jint nativeEmojiFactory) {
|
||||||
|
/*
|
||||||
|
// Must not delete this object!!
|
||||||
EmojiFactory *factory = reinterpret_cast<EmojiFactory *>(nativeEmojiFactory);
|
EmojiFactory *factory = reinterpret_cast<EmojiFactory *>(nativeEmojiFactory);
|
||||||
delete factory;
|
delete factory;
|
||||||
|
*/
|
||||||
}
|
}
|
||||||
|
|
||||||
static jint android_emoji_EmojiFactory_getAndroidPuaFromVendorSpecificSjis(
|
static jint android_emoji_EmojiFactory_getAndroidPuaFromVendorSpecificSjis(
|
||||||
|
|||||||
Reference in New Issue
Block a user