aboutsummaryrefslogtreecommitdiffstats
path: root/e-util/e-util.c
diff options
context:
space:
mode:
Diffstat (limited to 'e-util/e-util.c')
-rw-r--r--e-util/e-util.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/e-util/e-util.c b/e-util/e-util.c
index 33c10aba5c..fd167599df 100644
--- a/e-util/e-util.c
+++ b/e-util/e-util.c
@@ -74,6 +74,17 @@ e_free_object_list (GList *list)
g_list_free (list);
}
+void
+e_free_string_list (GList *list)
+{
+ GList *p;
+
+ for (p = list; p != NULL; p = p->next)
+ g_free (p->data);
+
+ g_list_free (list);
+}
+
#define BUFF_SIZE 1024
char *