Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 051e3397 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge changes Iccedcb9b,I632c052e

* changes:
  BootAnimation: Minor whitespace fix
  BootAnimation: Avoid memory leak in error case
parents b4984590 080f9e65
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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;
}