diff options
author | Marc-André Lureau <marcandre.lureau@redhat.com> | 2022-02-14 15:59:17 +0400 |
---|---|---|
committer | Gerd Hoffmann <kraxel@redhat.com> | 2022-03-04 11:29:34 +0100 |
commit | 02a8ee2e1840d13db065f418969bcfcb404a94cb (patch) | |
tree | 564c955d6ea6fa136943b20fc5153b225440aa80 /ui/egl-headless.c | |
parent | cb8962c146b2633a4b04562281de9b2703bba849 (diff) |
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: 70a54b01693ed ("ui: avoid compiler warnings from unused clipboard info variable")
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
Message-Id: <20220214115917.1679568-1-marcandre.lureau@redhat.com>
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Diffstat (limited to 'ui/egl-headless.c')
0 files changed, 0 insertions, 0 deletions