Merge "StringBlock_nativeCreate: Possible Leak"

This commit is contained in:
Elliott Hughes
2012-12-21 17:17:41 -08:00
committed by Gerrit Code Review

View File

@@ -52,6 +52,7 @@ static jint android_content_StringBlock_nativeCreate(JNIEnv* env, jobject clazz,
if (osb == NULL || osb->getError() != NO_ERROR) {
jniThrowException(env, "java/lang/IllegalArgumentException", NULL);
delete osb;
return 0;
}