diff options
Diffstat (limited to 'e-util/e-util-labels.c')
-rw-r--r-- | e-util/e-util-labels.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/e-util/e-util-labels.c b/e-util/e-util-labels.c index 88fff080b7..85984da59c 100644 --- a/e-util/e-util-labels.c +++ b/e-util/e-util-labels.c @@ -71,6 +71,10 @@ e_util_labels_parse (GConfClient *client) char *color, *name, *tag; name = buf = list->data; color = strrchr (buf, ':'); + if (color == NULL) { + g_free (buf); + continue; + } *color++ = '\0'; tag = strchr (color, '|'); |