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

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

Merge "Fix use-after-free: release the animation after we're done with it"

parents 602542f8 1a8a213b
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -859,12 +859,12 @@ bool BootAnimation::movie()
        mTimeCheckThread = nullptr;
    }

    releaseAnimation(animation);

    if (clockFontInitialized) {
        glDeleteTextures(1, &animation->clockFont.texture.name);
    }

    releaseAnimation(animation);

    return false;
}