aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2012-05-14 21:00:42 +0800
committerMatthew Barnes <mbarnes@redhat.com>2012-05-14 21:35:54 +0800
commitec64c08d269accf0a30b21e2f7c535c196e36400 (patch)
treeff29ee610b29989f9584aaefd7f1e428ad89f474
parent8d48eaf598c2444efbc056286d2b9f2108fc258e (diff)
downloadgsoc2013-evolution-ec64c08d269accf0a30b21e2f7c535c196e36400.tar
gsoc2013-evolution-ec64c08d269accf0a30b21e2f7c535c196e36400.tar.gz
gsoc2013-evolution-ec64c08d269accf0a30b21e2f7c535c196e36400.tar.bz2
gsoc2013-evolution-ec64c08d269accf0a30b21e2f7c535c196e36400.tar.lz
gsoc2013-evolution-ec64c08d269accf0a30b21e2f7c535c196e36400.tar.xz
gsoc2013-evolution-ec64c08d269accf0a30b21e2f7c535c196e36400.tar.zst
gsoc2013-evolution-ec64c08d269accf0a30b21e2f7c535c196e36400.zip
Don't unref GAsyncResult in "finish" functions.
-rw-r--r--e-util/e-file-request.c1
-rw-r--r--e-util/e-stock-request.c1
-rw-r--r--mail/e-http-request.c1
-rw-r--r--mail/e-mail-request.c1
4 files changed, 0 insertions, 4 deletions
diff --git a/e-util/e-file-request.c b/e-util/e-file-request.c
index 998fc39c73..4b84aad931 100644
--- a/e-util/e-file-request.c
+++ b/e-util/e-file-request.c
@@ -123,7 +123,6 @@ file_request_send_finish (SoupRequest *request,
GInputStream *stream;
stream = g_simple_async_result_get_op_res_gpointer (G_SIMPLE_ASYNC_RESULT (result));
- g_object_unref (result);
/* Reset the stream before passing it back to webkit */
if (stream && G_IS_SEEKABLE (stream))
diff --git a/e-util/e-stock-request.c b/e-util/e-stock-request.c
index 0cdc97e8ff..5a1fbc9f07 100644
--- a/e-util/e-stock-request.c
+++ b/e-util/e-stock-request.c
@@ -205,7 +205,6 @@ stock_request_send_finish (SoupRequest *request,
GInputStream *stream;
stream = g_simple_async_result_get_op_res_gpointer (G_SIMPLE_ASYNC_RESULT (result));
- g_object_unref (result);
/* Reset the stream before passing it back to webkit */
if (stream && G_IS_SEEKABLE (stream))
diff --git a/mail/e-http-request.c b/mail/e-http-request.c
index 93f3cc148e..cc2ec62ea8 100644
--- a/mail/e-http-request.c
+++ b/mail/e-http-request.c
@@ -487,7 +487,6 @@ http_request_send_finish (SoupRequest *request,
GInputStream *stream;
stream = g_simple_async_result_get_op_res_gpointer (G_SIMPLE_ASYNC_RESULT (result));
- g_object_unref (result);
/* Reset the stream before passing it back to webkit */
if (stream && G_IS_SEEKABLE (stream))
diff --git a/mail/e-mail-request.c b/mail/e-mail-request.c
index 961a973da1..7522bc5e7e 100644
--- a/mail/e-mail-request.c
+++ b/mail/e-mail-request.c
@@ -230,7 +230,6 @@ mail_request_send_finish (SoupRequest *request,
GInputStream *stream;
stream = g_simple_async_result_get_op_res_gpointer (G_SIMPLE_ASYNC_RESULT (result));
- g_object_unref (result);
/* Reset the stream before passing it back to webkit */
if (stream && G_IS_SEEKABLE (stream))