On Tue, 14 Jun 2022 at 22:21, Akihiko Odaki wrote:
>
> [-NSPasteboard dataForType:] returns an autoreleased NSString,
> and callings its release method will result in double-free when
> the global autorelease pool is released. Use NSAutoreleasePool to
> release it properly.
>
> Signed-off-by: Akih
[-NSPasteboard dataForType:] returns an autoreleased NSString,
and callings its release method will result in double-free when
the global autorelease pool is released. Use NSAutoreleasePool to
release it properly.
Signed-off-by: Akihiko Odaki
---
ui/cocoa.m | 4 +++-
1 file changed, 3 insertions