aboutsummaryrefslogtreecommitdiffstats
path: root/e-util
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2012-05-13 21:32:51 +0800
committerMatthew Barnes <mbarnes@redhat.com>2012-05-13 21:40:23 +0800
commit59ba5e620d20c8db4b02f7ae180536da1b5d09d5 (patch)
tree7a24eea8b2f778922f6b1b9d35a6900547fd4b7d /e-util
parent53a3d2f4e1473dd93fee8e7367bc329b8dc5ef23 (diff)
downloadgsoc2013-evolution-59ba5e620d20c8db4b02f7ae180536da1b5d09d5.tar
gsoc2013-evolution-59ba5e620d20c8db4b02f7ae180536da1b5d09d5.tar.gz
gsoc2013-evolution-59ba5e620d20c8db4b02f7ae180536da1b5d09d5.tar.bz2
gsoc2013-evolution-59ba5e620d20c8db4b02f7ae180536da1b5d09d5.tar.lz
gsoc2013-evolution-59ba5e620d20c8db4b02f7ae180536da1b5d09d5.tar.xz
gsoc2013-evolution-59ba5e620d20c8db4b02f7ae180536da1b5d09d5.tar.zst
gsoc2013-evolution-59ba5e620d20c8db4b02f7ae180536da1b5d09d5.zip
Fix some GSimpleAsyncResult reference leaks.
Diffstat (limited to 'e-util')
-rw-r--r--e-util/e-file-request.c2
-rw-r--r--e-util/e-stock-request.c2
2 files changed, 4 insertions, 0 deletions
diff --git a/e-util/e-file-request.c b/e-util/e-file-request.c
index 08d8682261..998fc39c73 100644
--- a/e-util/e-file-request.c
+++ b/e-util/e-file-request.c
@@ -111,6 +111,8 @@ file_request_send_async (SoupRequest *request,
g_simple_async_result_run_in_thread (
simple, handle_file_request,
G_PRIORITY_DEFAULT, cancellable);
+
+ g_object_unref (simple);
}
static GInputStream *
diff --git a/e-util/e-stock-request.c b/e-util/e-stock-request.c
index c9a2e5fc1b..0cdc97e8ff 100644
--- a/e-util/e-stock-request.c
+++ b/e-util/e-stock-request.c
@@ -193,6 +193,8 @@ stock_request_send_async (SoupRequest *request,
g_simple_async_result_run_in_thread (
simple, handle_stock_request,
G_PRIORITY_DEFAULT, cancellable);
+
+ g_object_unref (simple);
}
static GInputStream *