[libgda: 1/2] Gdaui: Fixing sigsegv in gda-control-center



commit 0d718c56dbd3b3ac6a5237fe3ec5e35e251183ee
Author: Pavlo Solntsev <p sun fun gmail com>
Date:   Sat Feb 23 21:11:02 2019 -0600

    Gdaui: Fixing sigsegv in gda-control-center
    
    See #162 for details.

 libgda-ui/data-entries/gdaui-entry-combo.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/libgda-ui/data-entries/gdaui-entry-combo.c b/libgda-ui/data-entries/gdaui-entry-combo.c
index 5f37cfe77..a9dcd7250 100644
--- a/libgda-ui/data-entries/gdaui-entry-combo.c
+++ b/libgda-ui/data-entries/gdaui-entry-combo.c
@@ -317,7 +317,7 @@ gdaui_entry_combo_dispose (GObject *object)
                g_signal_handlers_disconnect_by_func (priv->paramlist,
                                                      G_CALLBACK (uiset_source_model_changed_cb),
                                                      combo);
-               g_object_unref (priv->paramlist);
+               g_clear_object (&priv->paramlist);
        }
 
        if (priv->combo_nodes) {


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