diff options
author | Thomas Haller <thaller@redhat.com> | 2020-09-02 17:37:01 +0200 |
---|---|---|
committer | Thomas Haller <thaller@redhat.com> | 2020-09-02 17:46:43 +0200 |
commit | c7a724fd5311bb8d776c64d980d13e85a3fb82a5 (patch) | |
tree | ed6366b0065504a97f39aa540fca960f784798e1 /shared/nm-glib-aux/nm-macros-internal.h | |
parent | 426a4c9d50e1a5b7187dfdf82ee423768fe1c6da (diff) | |
download | NetworkManager-c7a724fd5311bb8d776c64d980d13e85a3fb82a5.tar.gz |
all: replace cleanup macro "gs_free_slist" by "nm_auto_free_slist"
Diffstat (limited to 'shared/nm-glib-aux/nm-macros-internal.h')
-rw-r--r-- | shared/nm-glib-aux/nm-macros-internal.h | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/shared/nm-glib-aux/nm-macros-internal.h b/shared/nm-glib-aux/nm-macros-internal.h index c8017c69ce..bbab3a01b5 100644 --- a/shared/nm-glib-aux/nm-macros-internal.h +++ b/shared/nm-glib-aux/nm-macros-internal.h @@ -99,15 +99,6 @@ NM_AUTO_DEFINE_FCN0 (GPtrArray *, gs_local_ptrarray_unref, g_ptr_array_unref); NM_AUTO_DEFINE_FCN0 (GHashTable *, gs_local_hashtable_unref, g_hash_table_unref); /** - * gs_free_slist: - * - * Call g_slist_free() on a variable location when it goes out - * of scope. - */ -#define gs_free_slist nm_auto(gs_local_free_slist) -NM_AUTO_DEFINE_FCN0 (GSList *, gs_local_free_slist, g_slist_free); - -/** * gs_unref_bytes: * * Call g_bytes_unref() on a variable location when it goes out |