mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-11-10 19:36:18 +01:00
[tests/gvariant] Handle flavored_free(NULL), since flavored_malloc can return NULL
This commit is contained in:
parent
88a1e6c102
commit
ba1163a33c
@ -1269,6 +1269,8 @@ static void
|
||||
flavoured_free (gpointer data,
|
||||
gsize flavour)
|
||||
{
|
||||
if (!data)
|
||||
return;
|
||||
g_free (((gchar *) data) - flavour);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user