diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2012-05-13 21:32:51 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@redhat.com> | 2012-05-13 21:40:23 +0800 |
commit | 59ba5e620d20c8db4b02f7ae180536da1b5d09d5 (patch) | |
tree | 7a24eea8b2f778922f6b1b9d35a6900547fd4b7d /mail | |
parent | 53a3d2f4e1473dd93fee8e7367bc329b8dc5ef23 (diff) | |
download | gsoc2013-evolution-59ba5e620d20c8db4b02f7ae180536da1b5d09d5.tar.gz gsoc2013-evolution-59ba5e620d20c8db4b02f7ae180536da1b5d09d5.tar.zst gsoc2013-evolution-59ba5e620d20c8db4b02f7ae180536da1b5d09d5.zip |
Fix some GSimpleAsyncResult reference leaks.
Diffstat (limited to 'mail')
-rw-r--r-- | mail/e-http-request.c | 2 | ||||
-rw-r--r-- | mail/e-mail-request.c | 2 |
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 * |