mirror of
https://gitlab.uni-freiburg.de/opensourcevdi/spice
synced 2025-12-26 22:48:19 +00:00
display-channel: Clean more stuff on finalize
Release surfaces, cache and monitor configurations. Signed-off-by: Frediano Ziglio <fziglio@redhat.com> Acked-by: Jonathon Jongsma <jjongsma@redhat.com>
This commit is contained in:
parent
e4d06191ee
commit
67b1513f87
@ -78,6 +78,9 @@ display_channel_finalize(GObject *object)
|
||||
{
|
||||
DisplayChannel *self = DISPLAY_CHANNEL(object);
|
||||
|
||||
display_channel_destroy_surfaces(self);
|
||||
image_cache_reset(&self->priv->image_cache);
|
||||
monitors_config_unref(self->priv->monitors_config);
|
||||
g_array_unref(self->priv->video_codecs);
|
||||
g_free(self->priv);
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user