diff options
author | Benjamin Dauvergne <bdauvergne@entrouvert.com> | 2012-10-08 18:00:07 +0200 |
---|---|---|
committer | Benjamin Dauvergne <bdauvergne@entrouvert.com> | 2013-01-25 18:30:18 +0100 |
commit | a3fb13e36b92df2af83ce64dc342f55ca5a432db (patch) | |
tree | 9755e114a38f95e3fb3491fcb2bc4d2f33158fb2 | |
parent | 5d8d8e8441a73728406ced22535646f014e4c17e (diff) | |
download | lasso-a3fb13e36b92df2af83ce64dc342f55ca5a432db.tar.gz lasso-a3fb13e36b92df2af83ce64dc342f55ca5a432db.tar.xz lasso-a3fb13e36b92df2af83ce64dc342f55ca5a432db.zip |
add a lasso_release_slist
-rw-r--r-- | lasso/utils.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lasso/utils.h b/lasso/utils.h index d62d3cdb..5e12f043 100644 --- a/lasso/utils.h +++ b/lasso/utils.h @@ -123,6 +123,9 @@ #define lasso_release_list(dest) \ lasso_release_full2(dest, g_list_free, GList*) +#define lasso_release_islist(dest) \ + lasso_release_full2(dest, g_slist_free, GSList*) + #define lasso_release_list_of_full(dest, free_function) \ { \ GList **__tmp = &(dest); \ |