From 68b6e578e44fcf92c46688806afb77c4e5cb3f08 Mon Sep 17 00:00:00 2001 From: Benjamin Dauvergne Date: Fri, 1 Aug 2008 14:10:11 +0000 Subject: fix forgottent arg to g_list_foreach --- lasso/utils.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lasso/utils.h b/lasso/utils.h index b28ed48f..16aa39d6 100644 --- a/lasso/utils.h +++ b/lasso/utils.h @@ -81,7 +81,7 @@ #define g_release_list_of_strings(dest) \ { \ if (dest) { \ - g_list_foreach(dest, (GFunc)g_free); \ + g_list_foreach(dest, (GFunc)g_free, NULL); \ g_list_free(dest); \ dest = NULL; \ } \ @@ -89,7 +89,7 @@ #define g_release_list_of_gobjects(dest) \ { \ if (dest) { \ - g_list_foreach(dest, (GFunc)g_object_unref); \ + g_list_foreach(dest, (GFunc)g_object_unref, NULL); \ g_list_free(dest); \ dest = NULL; \ } \ -- cgit