[Spice-commits] server/display-channel.c

Frediano Ziglio fziglio at kemper.freedesktop.org
Tue Feb 28 23:11:01 UTC 2017


 server/display-channel.c |    3 +++
 1 file changed, 3 insertions(+)

New commits:
commit 67b1513f8775fbaf24401b2dfaac8c8ef9955e87
Author: Frediano Ziglio <fziglio at redhat.com>
Date:   Tue Feb 28 11:11:48 2017 +0000

    display-channel: Clean more stuff on finalize
    
    Release surfaces, cache and monitor configurations.
    
    Signed-off-by: Frediano Ziglio <fziglio at redhat.com>
    Acked-by: Jonathon Jongsma <jjongsma at redhat.com>

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);
 


More information about the Spice-commits mailing list