]> git.proxmox.com Git - mirror_qemu.git/commit - ui/cocoa.m
ui/cocoa: Fix the leak of qemu_console_get_label
authorAkihiko Odaki <akihiko.odaki@gmail.com>
Tue, 15 Feb 2022 08:03:05 +0000 (09:03 +0100)
committerPeter Maydell <peter.maydell@linaro.org>
Mon, 21 Feb 2022 13:30:21 +0000 (13:30 +0000)
commitca511604925eef8572e22ecbf0d3c758d7277924
tree18c6a8a0d849f676ac72c7884d9f89d66efc251e
parentb597278d5780b15759c31a944f21f8b1491902fe
ui/cocoa: Fix the leak of qemu_console_get_label

Signed-off-by: Akihiko Odaki <akihiko.odaki@gmail.com>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Message-id: 20220215080307.69550-14-f4bug@amsat.org
Message-Id: <20220213021329.2066-1-akihiko.odaki@gmail.com>
[PMD: Use g_autofree, suggested by Zoltan BALATON]
Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
ui/cocoa.m