Release surfaces, cache and monitor configurations. Signed-off-by: Frediano Ziglio <fziglio@xxxxxxxxxx> --- server/display-channel.c | 3 +++ 1 file changed, 3 insertions(+) Changes from v1: - remove some cosmetic changes to reduce the patch. diff --git a/server/display-channel.c b/server/display-channel.c index 288969c..2e359f8 100644 --- a/server/display-channel.c +++ b/server/display-channel.c @@ -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); -- 2.9.3 _______________________________________________ Spice-devel mailing list Spice-devel@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/spice-devel