On Tue, Jun 30, 2020 at 11:03:36AM +0200, Markus Armbruster wrote:
> 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 <berra...@redhat.com>
> Cc: Gerd Hoffmann <kra...@redhat.com>
> Signed-off-by: Markus Armbruster <arm...@redhat.com>
> ---
>  ui/vnc.c | 3 +--
>  1 file changed, 1 insertion(+), 2 deletions(-)

Reviewed-by: Daniel P. Berrangé <berra...@redhat.com>


Regards,
Daniel
-- 
|: https://berrange.com      -o-    https://www.flickr.com/photos/dberrange :|
|: https://libvirt.org         -o-            https://fstop138.berrange.com :|
|: https://entangle-photo.org    -o-    https://www.instagram.com/dberrange :|


Reply via email to