mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-22 22:25:57 +00:00
Fix use after free
This commit is contained in:
@@ -74,7 +74,7 @@ final class ImageBasedPasscodeBackground: PasscodeBackground {
|
||||
}
|
||||
telegramFastBlurMore(Int32(contextSize.width), Int32(contextSize.height), Int32(backgroundContext.bytesPerRow), backgroundContext.bytes)
|
||||
telegramFastBlurMore(Int32(contextSize.width), Int32(contextSize.height), Int32(backgroundContext.bytesPerRow), backgroundContext.bytes)
|
||||
telegramFastBlurMore(Int32(contextSize.width), Int32(contextSize.height), Int32(foregroundContext.bytesPerRow), foregroundContext.bytes)
|
||||
telegramFastBlurMore(Int32(contextSize.width), Int32(contextSize.height), Int32(foregroundContext.bytesPerRow), backgroundContext.bytes)
|
||||
|
||||
backgroundContext.withFlippedContext { context in
|
||||
context.setFillColor(UIColor(white: 0.0, alpha: 0.35).cgColor)
|
||||
|
||||
Reference in New Issue
Block a user