discomfitor pushed a commit to branch master.

commit c6f0c79b61e7821ac9b6deedbb55f69aa4f27b43
Author: Mike Blumenkrantz <[email protected]>
Date:   Tue May 28 14:42:11 2013 +0100

    add e_util_string_list_free
---
 src/bin/e_utils.c | 9 +++++++++
 src/bin/e_utils.h | 2 ++
 2 files changed, 11 insertions(+)

diff --git a/src/bin/e_utils.c b/src/bin/e_utils.c
index 79fcd8f..a92949a 100644
--- a/src/bin/e_utils.c
+++ b/src/bin/e_utils.c
@@ -1390,6 +1390,15 @@ e_util_size_debug_set(Evas_Object *obj, Eina_Bool enable)
      }
 }
 
+EAPI void
+e_util_string_list_free(Eina_List *l)
+{
+   char *s;
+
+   EINA_LIST_FREE(l, s)
+     free(s);
+}
+
 static Efreet_Desktop *
 _e_util_default_terminal_get(const char *defaults_list)
 {
diff --git a/src/bin/e_utils.h b/src/bin/e_utils.h
index faac34c..8e0aa3d 100644
--- a/src/bin/e_utils.h
+++ b/src/bin/e_utils.h
@@ -75,6 +75,8 @@ EAPI void e_util_evas_objects_above_print_smart(Evas_Object 
*o);
 
 EAPI Eina_Bool e_util_border_shadow_state_get(const E_Border *bd);
 
+EAPI void e_util_string_list_free(Eina_List *l);
+
 static inline E_Container *
 e_util_container_current_get(void)
 {

-- 

------------------------------------------------------------------------------
Try New Relic Now & We'll Send You this Cool Shirt
New Relic is the only SaaS-based application performance monitoring service 
that delivers powerful full stack analytics. Optimize and monitor your
browser, app, & servers with just a few lines of code. Try New Relic
and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_may

Reply via email to