aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJeffrey Stedfast <fejj@ximian.com>2004-03-17 00:08:03 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2004-03-17 00:08:03 +0800
commitfe91f0837c6d82b79f0ecffe43b621905e75a188 (patch)
tree757cefa7ecc05f72125c644668004f4bf2cda314
parent41f0d32b1dbbfd3ebe1fef037e46c7e1508bdbb5 (diff)
downloadgsoc2013-evolution-fe91f0837c6d82b79f0ecffe43b621905e75a188.tar.gz
gsoc2013-evolution-fe91f0837c6d82b79f0ecffe43b621905e75a188.tar.zst
gsoc2013-evolution-fe91f0837c6d82b79f0ecffe43b621905e75a188.zip
Don't ref the newly cloned rule (fix to previous patch).
2004-03-16 Jeffrey Stedfast <fejj@ximian.com> * filter-rule.c (rule_copy): Don't ref the newly cloned rule (fix to previous patch). svn path=/trunk/; revision=25089
-rw-r--r--filter/ChangeLog5
-rw-r--r--filter/filter-rule.c1
2 files changed, 5 insertions, 1 deletions
diff --git a/filter/ChangeLog b/filter/ChangeLog
index 0826237f93..b3eb1398c4 100644
--- a/filter/ChangeLog
+++ b/filter/ChangeLog
@@ -1,3 +1,8 @@
+2004-03-16 Jeffrey Stedfast <fejj@ximian.com>
+
+ * filter-rule.c (rule_copy): Don't ref the newly cloned rule (fix
+ to previous patch).
+
2004-03-14 Bill Zhu <bill.zhu@sun.com>
* filter-rule.c (rule_copy): When copying a FilterPart of a rule, we
diff --git a/filter/filter-rule.c b/filter/filter-rule.c
index 0aed1c4260..f8b36564c5 100644
--- a/filter/filter-rule.c
+++ b/filter/filter-rule.c
@@ -440,7 +440,6 @@ rule_copy (FilterRule *dest, FilterRule *src)
FilterPart *part;
part = filter_part_clone (node->data);
- g_object_ref (part);
dest->parts = g_list_append (dest->parts, part);
node = node->next;
}