[gnome-builder] GdbDebugger: chain up properly from dispose



commit c15bf32eec2b02fb1220e4869dae809bdbbe15f5
Author: Giovanni Campagna <gcampagn cs stanford edu>
Date:   Sun Nov 26 16:35:18 2017 -0800

    GdbDebugger: chain up properly from dispose
    
    If you chain up twice to finalize, you're going to have a bad time.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=790846

 src/plugins/gdb/gbp-gdb-debugger.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/plugins/gdb/gbp-gdb-debugger.c b/src/plugins/gdb/gbp-gdb-debugger.c
index 11f05ce..8c60c3b 100644
--- a/src/plugins/gdb/gbp-gdb-debugger.c
+++ b/src/plugins/gdb/gbp-gdb-debugger.c
@@ -2447,7 +2447,7 @@ gbp_gdb_debugger_dispose (GObject *object)
   g_queue_foreach (&self->writequeue, (GFunc)g_bytes_unref, NULL);
   g_queue_clear (&self->writequeue);
 
-  G_OBJECT_CLASS (gbp_gdb_debugger_parent_class)->finalize (object);
+  G_OBJECT_CLASS (gbp_gdb_debugger_parent_class)->dispose (object);
 }
 
 static void


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]