diff options
author | Philip Withnall <withnall@endlessm.com> | 2018-08-22 11:09:01 +0100 |
---|---|---|
committer | Philip Withnall <withnall@endlessm.com> | 2018-08-22 11:18:02 +0100 |
commit | 082730fc3e10a05c7938c06a27c875efd32a729b (patch) | |
tree | 00e92cf58d4ab4f31aeea32853f90a5d3e8c3760 /glib/gstrfuncs.h | |
parent | c879f50f8a60be17dfa2d2a2b0c48b15c2f62445 (diff) | |
download | glib-082730fc3e10a05c7938c06a27c875efd32a729b.tar.gz |
glib: Drop G_GNUC_MALLOC usage from various allocation functions
These are our most critically incorrect uses of G_GNUC_MALLOC. See the
previous commit for details.
Signed-off-by: Philip Withnall <withnall@endlessm.com>
https://gitlab.gnome.org/GNOME/glib/issues/1465
Diffstat (limited to 'glib/gstrfuncs.h')
-rw-r--r-- | glib/gstrfuncs.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/glib/gstrfuncs.h b/glib/gstrfuncs.h index d09de568c..b8790fc78 100644 --- a/glib/gstrfuncs.h +++ b/glib/gstrfuncs.h @@ -255,7 +255,7 @@ gchar* g_strescape (const gchar *source, GLIB_AVAILABLE_IN_ALL gpointer g_memdup (gconstpointer mem, - guint byte_size) G_GNUC_MALLOC G_GNUC_ALLOC_SIZE(2); + guint byte_size) G_GNUC_ALLOC_SIZE(2); /* NULL terminated string arrays. * g_strsplit(), g_strsplit_set() split up string into max_tokens tokens |