summary refs log tree commit diff stats
path: root/src/common/util.c
diff options
context:
space:
mode:
authorTingPing <tngpng@gmail.com>2013-05-16 09:07:38 -0700
committerTingPing <tngpng@gmail.com>2013-05-16 09:07:38 -0700
commit69c2893234452107b2db67e431868d7400ea25aa (patch)
tree904233560d5029a472ec6416b4874f55c9b17011 /src/common/util.c
parent26cefd0587a5ca092a7b4ee442c144eee9e19dc5 (diff)
parent8ccd11ee4bbf3d4a7a7fc06a872eca6d20544cba (diff)
Merge pull request #586 from bviktor/authcleanup
Login and network list cleanup
Diffstat (limited to 'src/common/util.c')
-rw-r--r--src/common/util.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/util.c b/src/common/util.c
index 29a0f3ed..a6c9fe21 100644
--- a/src/common/util.c
+++ b/src/common/util.c
@@ -1886,7 +1886,7 @@ int main (int argc, char *argv[])
 	list = get_subdirs ("foo");
 	display_list (list);
 #if GLIB_CHECK_VERSION(2,28,0)
-	g_slist_free_full (list, (GFunc) g_free);
+	g_slist_free_full (list, (GDestroyNotify) g_free);
 #else
 	g_slist_foreach (list, (GFunc) g_free, NULL);
 	g_slist_free (list);