am 5cb0f218: Merge "StringBlock_nativeCreate: Possible Leak"
* commit '5cb0f2184656642160e9ac032d0646f766058a5b': StringBlock_nativeCreate: Possible Leak
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user