From 881b7938b5080a058fd02d003a4cdead5bb8877b Mon Sep 17 00:00:00 2001 From: Parthasarathi Susarla Date: Wed, 28 Sep 2005 07:49:08 +0000 Subject: See bug ** 317329 Do not add a NULL uri. 2005-09-28 Parthasarathi Susarla See bug ** 317329 * em-vfolder-rule.c: (em_vfolder_rule_add_source): Do not add a NULL uri. svn path=/trunk/; revision=30382 --- mail/ChangeLog | 6 ++++++ mail/em-vfolder-rule.c | 1 + 2 files changed, 7 insertions(+) diff --git a/mail/ChangeLog b/mail/ChangeLog index 32a9114ca6..cd59d8a28e 100644 --- a/mail/ChangeLog +++ b/mail/ChangeLog @@ -1,3 +1,9 @@ +2005-09-28 Parthasarathi Susarla + + See bug ** 317329 + * em-vfolder-rule.c: (em_vfolder_rule_add_source): + Do not add a NULL uri. + 2005-09-26 S.Antony Vincent Pandian Fixes #208647 diff --git a/mail/em-vfolder-rule.c b/mail/em-vfolder-rule.c index 441717e8d5..885c6e0339 100644 --- a/mail/em-vfolder-rule.c +++ b/mail/em-vfolder-rule.c @@ -142,6 +142,7 @@ void em_vfolder_rule_add_source(EMVFolderRule *vr, const char *uri) { g_assert(EM_IS_VFOLDER_RULE(vr)); + g_return_if_fail (uri); vr->sources = g_list_append(vr->sources, g_strdup(uri)); -- cgit v1.2.3