mirror of
https://gitlab.uni-freiburg.de/opensourcevdi/virt-viewer
synced 2025-12-27 06:23:42 +00:00
Don't leak SPICE ticket
This commit is contained in:
parent
0341125ca4
commit
2201a5adf4
@ -325,6 +325,7 @@ virt_viewer_session_spice_main_channel_event(SpiceChannel *channel G_GNUC_UNUSED
|
||||
gboolean openfd;
|
||||
|
||||
g_object_set(self->priv->session, "password", password, NULL);
|
||||
g_free(password);
|
||||
g_object_get(self->priv->session, "client-sockets", &openfd, NULL);
|
||||
|
||||
if (openfd)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user