Merge "Fix crash by wrong assertion check"

This commit is contained in:
TreeHugger Robot
2019-02-09 02:46:19 +00:00
committed by Android (Google) Code Review

View File

@@ -122,7 +122,7 @@ class JavaByteArrayHolder {
}
~JavaByteArrayHolder() {
LOG_ALWAYS_FATAL_IF(mElements == nullptr, "Elements are not released");
LOG_ALWAYS_FATAL_IF(mElements != nullptr, "Elements are not released");
}
private: