diff options
author | Markus Armbruster <armbru@redhat.com> | 2020-06-30 11:03:36 +0200 |
---|---|---|
committer | Markus Armbruster <armbru@redhat.com> | 2020-07-02 06:25:29 +0200 |
commit | b94b3c02df87dc9cca1b395e836f6d83f3a3001f (patch) | |
tree | 9943173bb545cc6212cf7ab50dc6a6bf4e39864c /hw | |
parent | 05584d12ae0c818665637b7ec580b600920d3027 (diff) | |
download | qemu-b94b3c02df87dc9cca1b395e836f6d83f3a3001f.zip qemu-b94b3c02df87dc9cca1b395e836f6d83f3a3001f.tar.gz qemu-b94b3c02df87dc9cca1b395e836f6d83f3a3001f.tar.bz2 |
vnc: Plug minor memory leak in vnc_display_open()
vnc_display_print_local_addr() leaks the Error object when
qio_channel_socket_get_local_address() fails. Seems unlikely. Called
when we create a VNC display with vnc_display_open(). Plug the leak
by passing NULL to ignore the error.
Cc: Daniel P. Berrange <berrange@redhat.com>
Cc: Gerd Hoffmann <kraxel@redhat.com>
Signed-off-by: Markus Armbruster <armbru@redhat.com>
Message-Id: <20200630090351.1247703-12-armbru@redhat.com>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
Diffstat (limited to 'hw')
0 files changed, 0 insertions, 0 deletions