Skip to content
Snippets Groups Projects
Commit 02a8ee2e authored by Marc-André Lureau's avatar Marc-André Lureau Committed by Gerd Hoffmann
Browse files

ui/clipboard: fix use-after-free regression


The same info may be used to update the clipboard, and may be freed
before being ref'ed again.

Fixes: 70a54b01 ("ui: avoid compiler warnings from unused clipboard info variable")

Signed-off-by: default avatarMarc-André Lureau <marcandre.lureau@redhat.com>
Reviewed-by: default avatarDaniel P. Berrangé <berrange@redhat.com>
Message-Id: <20220214115917.1679568-1-marcandre.lureau@redhat.com>
Signed-off-by: default avatarGerd Hoffmann <kraxel@redhat.com>
parent cb8962c1
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment