am 5cb0f218: Merge "StringBlock_nativeCreate: Possible Leak"
* commit '5cb0f2184656642160e9ac032d0646f766058a5b':
StringBlock_nativeCreate: Possible Leak
diff --git a/core/jni/android_util_StringBlock.cpp b/core/jni/android_util_StringBlock.cpp
index 28746ce..463d3c0 100644
--- a/core/jni/android_util_StringBlock.cpp
+++ b/core/jni/android_util_StringBlock.cpp
@@ -52,6 +52,7 @@
if (osb == NULL || osb->getError() != NO_ERROR) {
jniThrowException(env, "java/lang/IllegalArgumentException", NULL);
+ delete osb;
return 0;
}