From 0482c8f5cade30908037f4b7ed290a2d20d66626 Mon Sep 17 00:00:00 2001 From: Milan Crha Date: Wed, 26 May 2010 15:52:26 +0200 Subject: [PATCH] Return missing g_object_ref call in camel-mime-parser --- camel/camel-mime-parser.c | 1 + 1 file changed, 1 insertion(+) 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; -- 2.7.4