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



commit 394a9dffa9e6e12db389af2b29ddd61fea397216
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 1cd610a..4829747 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]