message: Update exception_jni.cc
diff: @@ -33,10 +33,12 @@ void throwException(JNIEnv* env, const char* clazz, const char* fmt, ...) {
  auto* message = static_cast<char*>(malloc(max_msg_len));
  if (message && (vsnprintf(message, max_msg_len, fmt, args) >= 0)) {
  env->ThrowNew(env->FindClass(clazz), message);
  - free(message);
  } else {
  env->ThrowNew(env->FindClass(clazz), "");
  }
  + if (message) {
  + free(message);
  + }
  va_end(args);
  }
  