mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-06-16 05:55:20 +00:00
Fix use after free
This commit is contained in:
parent
9761eb5a57
commit
e358d881da
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user