Merge changes Iccedcb9b,I632c052e

* changes:
  BootAnimation: Minor whitespace fix
  BootAnimation: Avoid memory leak in error case
This commit is contained in:
TreeHugger Robot
2019-12-03 20:03:28 +00:00
committed by Android (Google) Code Review

View File

@@ -1157,10 +1157,10 @@ BootAnimation::Animation* BootAnimation::loadAnimation(const String8& fn)
parseAnimationDesc(*animation);
if (!preloadZip(*animation)) {
releaseAnimation(animation);
return nullptr;
}
mLoadedFiles.remove(fn);
return animation;
}