diff options
author | Matthew Barnes <mbarnes@src.gnome.org> | 2009-01-12 12:12:01 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@src.gnome.org> | 2009-01-12 12:12:01 +0800 |
commit | c7d3c9f95609123035ebaa267f9d2e6ecfa8c2e8 (patch) | |
tree | 246bdb714e24e1b0c9a8ce4a3e45a46b230316de /e-util/e-util-labels.c | |
parent | f8b33bc4ebe9dd8043674141b5fe4660efaa99e8 (diff) | |
download | gsoc2013-evolution-c7d3c9f95609123035ebaa267f9d2e6ecfa8c2e8.tar.gz gsoc2013-evolution-c7d3c9f95609123035ebaa267f9d2e6ecfa8c2e8.tar.zst gsoc2013-evolution-c7d3c9f95609123035ebaa267f9d2e6ecfa8c2e8.zip |
Merge revisions 36866:37046 from trunk.
svn path=/branches/kill-bonobo/; revision=37050
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, '|'); |