aboutsummaryrefslogtreecommitdiffstats
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
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.
-rw-r--r--addressbook/gui/widgets/eab-contact-formatter.c2
-rw-r--r--e-util/e-file-request.c2
-rw-r--r--e-util/e-stock-request.c2
-rw-r--r--em-format/em-format.c2
-rw-r--r--mail/e-http-request.c2
-rw-r--r--mail/e-mail-request.c2
6 files changed, 12 insertions, 0 deletions
diff --git a/addressbook/gui/widgets/eab-contact-formatter.c b/addressbook/gui/widgets/eab-contact-formatter.c
index c436ea8e12..124e211ce9 100644
--- a/addressbook/gui/widgets/eab-contact-formatter.c
+++ b/addressbook/gui/widgets/eab-contact-formatter.c
@@ -1258,6 +1258,8 @@ eab_contact_formatter_format_contact_async (EABContactFormatter *formatter,
g_simple_async_result_run_in_thread (
simple, do_start_async_formatter,
G_PRIORITY_DEFAULT, cancellable);
+
+ g_object_unref (simple);
}
static void
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 *
diff --git a/em-format/em-format.c b/em-format/em-format.c
index 23b2fd6ba8..9603dbd4cb 100644
--- a/em-format/em-format.c
+++ b/em-format/em-format.c
@@ -2032,6 +2032,8 @@ em_format_parse_async (EMFormat *emf,
g_simple_async_result_run_in_thread (
simple, emf_start_async_parser,
G_PRIORITY_DEFAULT, cancellable);
+
+ g_object_unref (simple);
}
void
diff --git a/mail/e-http-request.c b/mail/e-http-request.c
index edf13152df..93f3cc148e 100644
--- a/mail/e-http-request.c
+++ b/mail/e-http-request.c
@@ -474,6 +474,8 @@ http_request_send_async (SoupRequest *request,
simple, handle_http_request,
G_PRIORITY_DEFAULT, cancellable);
+ g_object_unref (simple);
+
g_hash_table_destroy (query);
}
diff --git a/mail/e-mail-request.c b/mail/e-mail-request.c
index d36e0cba2e..961a973da1 100644
--- a/mail/e-mail-request.c
+++ b/mail/e-mail-request.c
@@ -218,6 +218,8 @@ mail_request_send_async (SoupRequest *request,
g_simple_async_result_run_in_thread (
simple, handle_mail_request,
G_PRIORITY_DEFAULT, cancellable);
+
+ g_object_unref (simple);
}
static GInputStream *