aboutsummaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
Diffstat (limited to 'mail')
-rw-r--r--mail/e-http-request.c2
-rw-r--r--mail/e-mail-request.c2
2 files changed, 4 insertions, 0 deletions
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 *