[virt-tools-list] [PATCH 03/11] session-spice: dispose should chain up to dispose not finalize!!

Hans de Goede hdegoede at redhat.com
Sun Mar 4 19:05:54 UTC 2012


Signed-off-by: Hans de Goede <hdegoede at redhat.com>
---
 src/virt-viewer-session-spice.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/virt-viewer-session-spice.c b/src/virt-viewer-session-spice.c
index dcde662..3250abd 100644
--- a/src/virt-viewer-session-spice.c
+++ b/src/virt-viewer-session-spice.c
@@ -114,7 +114,7 @@ virt_viewer_session_spice_dispose(GObject *obj)
     if (spice->priv->main_window)
         g_object_unref(spice->priv->main_window);
 
-    G_OBJECT_CLASS(virt_viewer_session_spice_parent_class)->finalize(obj);
+    G_OBJECT_CLASS(virt_viewer_session_spice_parent_class)->dispose(obj);
 }
 
 
-- 
1.7.7.6




More information about the virt-tools-list mailing list