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



commit cf7d75d33537e509a871742a8d632a254d8798c5
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 b866e1f..84c60cb 100644
--- a/src/prefs-dialog.c
+++ b/src/prefs-dialog.c
@@ -318,8 +318,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]