aboutsummaryrefslogtreecommitdiffstats
path: root/camel/string-utils.c
diff options
context:
space:
mode:
authorbertrand <Bertrand.Guiheneuf@aful.org>1999-08-09 04:02:02 +0800
committerBertrand Guiheneuf <bertrand@src.gnome.org>1999-08-09 04:02:02 +0800
commit4c3eb877493c9f4ae656788cde2eacc6b7ca5d0e (patch)
tree44abba2c15f35822470aacc4bf546c578191247a /camel/string-utils.c
parente5d44122b8457faa0a18877c5c45be516035e138 (diff)
downloadgsoc2013-evolution-4c3eb877493c9f4ae656788cde2eacc6b7ca5d0e.tar.gz
gsoc2013-evolution-4c3eb877493c9f4ae656788cde2eacc6b7ca5d0e.tar.zst
gsoc2013-evolution-4c3eb877493c9f4ae656788cde2eacc6b7ca5d0e.zip
fix. In MH, message number is not related to message position in folder.
1999-08-08 bertrand <Bertrand.Guiheneuf@aful.org> * camel/providers/MH/camel-mh-folder.c (_get_message): fix. In MH, message number is not related to message position in folder. svn path=/trunk/; revision=1097
Diffstat (limited to 'camel/string-utils.c')
-rw-r--r--camel/string-utils.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/camel/string-utils.c b/camel/string-utils.c
index 7cfd07e6d8..e53c41308e 100644
--- a/camel/string-utils.c
+++ b/camel/string-utils.c
@@ -156,13 +156,15 @@ static void
__string_list_free_string (gpointer data, gpointer user_data)
{
gchar *string = (gchar *)data;
- g_free(string);
+ g_free (string);
}
void
string_list_free (GList *string_list)
{
+ if (string_list == NULL) return;
+
g_list_foreach (string_list, __string_list_free_string, NULL);
g_list_free (string_list);
}