From ec64c08d269accf0a30b21e2f7c535c196e36400 Mon Sep 17 00:00:00 2001 From: Matthew Barnes Date: Mon, 14 May 2012 09:00:42 -0400 Subject: Don't unref GAsyncResult in "finish" functions. --- e-util/e-file-request.c | 1 - e-util/e-stock-request.c | 1 - mail/e-http-request.c | 1 - mail/e-mail-request.c | 1 - 4 files changed, 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)) -- cgit