[epiphany/wip/sync: 27/86] prefs-dialog: Fix critical caused by nonexistent source id



commit 8c9b42902f5e291ddfdeca7d7e07e04409386292
Author: Gabriel Ivascu <ivascu gabriel59 gmail com>
Date:   Sat Feb 25 22:58:47 2017 +0200

    prefs-dialog: Fix critical caused by nonexistent source id

 src/prefs-dialog.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/prefs-dialog.c b/src/prefs-dialog.c
index b74beb8..4025b13 100644
--- a/src/prefs-dialog.c
+++ b/src/prefs-dialog.c
@@ -317,8 +317,8 @@ poll_fxa_server (gpointer user_data)
                                       data->respHMACkey, data->respXORkey);
 
     g_free (bundle);
-    fxa_callback_data_free (data);
     data->dialog->fxa_id = 0;
+    fxa_callback_data_free (data);
 
     return G_SOURCE_REMOVE;
   }


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