aboutsummaryrefslogtreecommitdiffstats
path: root/mail/em-vfolder-rule.c
diff options
context:
space:
mode:
Diffstat (limited to 'mail/em-vfolder-rule.c')
-rw-r--r--mail/em-vfolder-rule.c1
1 files changed, 1 insertions, 0 deletions
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));