mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 22:27:35 +00:00
Ladybird: Ensure we release CoreFoundation references
Once we are done with our references to some CoreFoundation types, we must be sure to manually release those references.
This commit is contained in:
parent
2d154bf90a
commit
4f563e346d
2 changed files with 4 additions and 0 deletions
|
@ -860,6 +860,7 @@ static void copy_text_to_clipboard(StringView text)
|
|||
[image drawInRect:image_rect];
|
||||
|
||||
CGContextRestoreGState(context);
|
||||
CGDataProviderRelease(provider);
|
||||
CGImageRelease(bitmap_image);
|
||||
|
||||
[super drawRect:rect];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue