diff options
| author | Akihiko Odaki | 2022-06-14 23:21:31 +0200 |
|---|---|---|
| committer | Gerd Hoffmann | 2022-07-01 12:35:47 +0200 |
| commit | 8c0d80245f3cdbbe6003844751d8fc6b1db7b1e4 (patch) | |
| tree | 7e7dbead503452400af82096618c4da442d5f179 /docs | |
| parent | ui/console: allow display device to be labeled with given id (diff) | |
| download | qemu-8c0d80245f3cdbbe6003844751d8fc6b1db7b1e4.tar.gz qemu-8c0d80245f3cdbbe6003844751d8fc6b1db7b1e4.tar.xz qemu-8c0d80245f3cdbbe6003844751d8fc6b1db7b1e4.zip | |
ui/cocoa: Fix clipboard text release
[-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 <akihiko.odaki@gmail.com>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Message-Id: <20220614212131.94696-1-akihiko.odaki@gmail.com>
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Diffstat (limited to 'docs')
0 files changed, 0 insertions, 0 deletions
