[evolution] Don't unref the result in GAsyncReadyCallback functions.
- From: Matthew Barnes <mbarnes src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution] Don't unref the result in GAsyncReadyCallback functions.
- Date: Mon, 14 May 2012 16:40:31 +0000 (UTC)
commit 34513c10bebed8dbd4964936616f2f32e041ce45
Author: Matthew Barnes <mbarnes redhat com>
Date: Mon May 14 12:33:34 2012 -0400
Don't unref the result in GAsyncReadyCallback functions.
The callback does not own the GAsyncResult passed to it.
mail/e-mail-reader.c | 2 --
1 files changed, 0 insertions(+), 2 deletions(-)
---
diff --git a/mail/e-mail-reader.c b/mail/e-mail-reader.c
index 9106e4f..9650636 100644
--- a/mail/e-mail-reader.c
+++ b/mail/e-mail-reader.c
@@ -3071,8 +3071,6 @@ format_parser_async_done_cb (GObject *source,
g_object_unref (closure->display);
g_free (closure);
- g_object_unref (result);
-
/* Remove the reference added when formatter was created,
* so that only owners are EMailDisplays */
g_object_unref (emf);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]