diff options
| author | Benjamin Dauvergne <bdauvergne@entrouvert.com> | 2008-08-01 14:10:11 +0000 |
|---|---|---|
| committer | Benjamin Dauvergne <bdauvergne@entrouvert.com> | 2008-08-01 14:10:11 +0000 |
| commit | 68b6e578e44fcf92c46688806afb77c4e5cb3f08 (patch) | |
| tree | 3c9a39e4e5b9705ac65acf4a2e0135adb850c37b | |
| parent | 36e234627a5001c286eeaa1764cd6734128fe79b (diff) | |
| download | lasso-68b6e578e44fcf92c46688806afb77c4e5cb3f08.tar.gz lasso-68b6e578e44fcf92c46688806afb77c4e5cb3f08.tar.xz lasso-68b6e578e44fcf92c46688806afb77c4e5cb3f08.zip | |
fix forgottent arg to g_list_foreach
| -rw-r--r-- | lasso/utils.h | 4 |
1 files 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; \ } \ |
