[gnome-online-accounts/gnome-3-6] ewsclient: Don't leak the GError



commit 03aa82a3777885fe3a06db02621852f1f8c429d8
Author: Debarshi Ray <debarshir gnome org>
Date:   Wed Dec 5 19:51:20 2012 +0100

    ewsclient: Don't leak the GError

 src/goabackend/goaewsclient.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/goabackend/goaewsclient.c b/src/goabackend/goaewsclient.c
index 847429a..155a508 100644
--- a/src/goabackend/goaewsclient.c
+++ b/src/goabackend/goaewsclient.c
@@ -325,7 +325,7 @@ ews_client_autodiscover_response_cb (SoupSession *session, SoupMessage *msg, gpo
             }
         }
       if (error != NULL)
-        g_simple_async_result_set_from_error (data->res, error);
+        g_simple_async_result_take_error (data->res, error);
     }
 
   g_simple_async_result_set_op_res_gboolean (data->res, op_res);


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