[evolution-data-server] Return missing g_object_ref call in	camel-mime-parser
- From: Milan Crha <mcrha src gnome org>
- To: commits-list gnome org
- Cc: 
- Subject: [evolution-data-server] Return missing g_object_ref call in	camel-mime-parser
- Date: Wed, 26 May 2010 13:53:29 +0000 (UTC)
commit 0482c8f5cade30908037f4b7ed290a2d20d66626
Author: Milan Crha <mcrha redhat com>
Date:   Wed May 26 15:52:26 2010 +0200
    Return missing g_object_ref call in camel-mime-parser
 camel/camel-mime-parser.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/camel/camel-mime-parser.c b/camel/camel-mime-parser.c
index 6d8bc7e..7994173 100644
--- a/camel/camel-mime-parser.c
+++ b/camel/camel-mime-parser.c
@@ -256,6 +256,7 @@ camel_mime_parser_filter_add(CamelMimeParser *m, CamelMimeFilter *mf)
 	if (s->filterid == -1)
 		s->filterid++;
 	new->next = NULL;
+	g_object_ref (G_OBJECT (mf));
 
 	/* yes, this is correct, since 'next' is the first element of the struct */
 	f = (struct _header_scan_filter *)&s->filters;
[
Date Prev][
Date Next]   [
Thread Prev][
Thread Next]   
[
Thread Index]
[
Date Index]
[
Author Index]