]> git.proxmox.com Git - mirror_qemu.git/commit
qga: Fix a memory leak
authorPhilippe Mathieu-Daudé <philmd@redhat.com>
Fri, 28 Feb 2020 10:07:26 +0000 (11:07 +0100)
committerMarkus Armbruster <armbru@redhat.com>
Mon, 9 Mar 2020 12:36:15 +0000 (13:36 +0100)
commitd1eddab86f92e7e060c8a473695c7f24ec00c9ab
treef08fb49f3fa9b277f042274b19e5493660689c5c
parent672db77892d367f1dc3797571511acce27597a11
qga: Fix a memory leak

The string returned by g_win32_error_message() has to be
deallocated with g_free().

Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Message-Id: <20200228100726.8414-5-philmd@redhat.com>
Signed-off-by: Markus Armbruster <armbru@redhat.com>
qga/channel-win32.c