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 - 2 files changed, 2 deletions(-) (limited to 'e-util') 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)) -- cgit v1.2.3