aboutsummaryrefslogtreecommitdiffstats
path: root/e-util/e-util.c-8611
diff options
context:
space:
mode:
authorEttore Perazzoli <ettore@src.gnome.org>2000-05-16 01:16:55 +0800
committerEttore Perazzoli <ettore@src.gnome.org>2000-05-16 01:16:55 +0800
commit6dfcfd767d0e0c515609cd36a80d8cc65370e264 (patch)
tree3b8b5964f6a47c7f0e01094e296eb7da6198ff8f /e-util/e-util.c-8611
parente927ce214f28163a2159129e2d4771da274d5611 (diff)
downloadgsoc2013-evolution-6dfcfd767d0e0c515609cd36a80d8cc65370e264.tar
gsoc2013-evolution-6dfcfd767d0e0c515609cd36a80d8cc65370e264.tar.gz
gsoc2013-evolution-6dfcfd767d0e0c515609cd36a80d8cc65370e264.tar.bz2
gsoc2013-evolution-6dfcfd767d0e0c515609cd36a80d8cc65370e264.tar.lz
gsoc2013-evolution-6dfcfd767d0e0c515609cd36a80d8cc65370e264.tar.xz
gsoc2013-evolution-6dfcfd767d0e0c515609cd36a80d8cc65370e264.tar.zst
gsoc2013-evolution-6dfcfd767d0e0c515609cd36a80d8cc65370e264.zip
Utility function to free a GList of strings.
svn path=/trunk/; revision=3048
Diffstat (limited to 'e-util/e-util.c-8611')
-rw-r--r--e-util/e-util.c-861111
1 files changed, 11 insertions, 0 deletions
diff --git a/e-util/e-util.c-8611 b/e-util/e-util.c-8611
index 33c10aba5c..fd167599df 100644
--- a/e-util/e-util.c-8611
+++ b/e-util/e-util.c-8611
@@ -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 *