mirror of
https://gitlab.uni-freiburg.de/opensourcevdi/spice
synced 2026-08-09 23:12:32 +00:00
Free QXL instances in spice_server_destroy
Signed-off-by: Frediano Ziglio <fziglio@redhat.com> Acked-by: Jonathon Jongsma <jjongsma@redhat.com>
This commit is contained in:
parent
8dbfd4971a
commit
492e59842a
@ -3592,6 +3592,8 @@ SPICE_GNUC_VISIBLE void spice_server_destroy(SpiceServer *reds)
|
||||
servers = g_list_remove(servers, reds);
|
||||
pthread_mutex_unlock(&global_reds_lock);
|
||||
|
||||
g_list_free_full(reds->qxl_instances, (GDestroyNotify)red_qxl_destroy);
|
||||
|
||||
if (reds->inputs_channel) {
|
||||
reds_unregister_channel(reds, RED_CHANNEL(reds->inputs_channel));
|
||||
red_channel_destroy(RED_CHANNEL(reds->inputs_channel));
|
||||
|
||||
Loading…
Reference in New Issue
Block a user