This patch adds a macro which wraps g_list_free_full(). This functions
frees all the dynamically-allocated data in the GList element so that we
can use it to clean up GLists well.
Change-Id: I2fd538f39620ca1044b5ba3046a8a82a8bd598c4
Signed-off-by: Wook Song <wook16.song@samsung.com>
g_list_find(a, (gpointer)b)
#define DD_LIST_FREE_LIST(a) \
g_list_free(a)
+#define DD_LIST_FREE_LIST_FULL(a, free_func) \
+ g_list_free_full(a, free_func)
#define DD_LIST_SORT(a, func) \
a = g_list_sort(a, func)
#define DD_LIST_FOREACH(head, elem, node) \