mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-08-19 07:08:54 +02:00
Don't forget to free the tmp string
This commit is contained in:
@@ -307,6 +307,7 @@ g_param_spec_internal (GType param_type,
|
|||||||
tmp = g_strdup (name);
|
tmp = g_strdup (name);
|
||||||
canonicalize_key (tmp);
|
canonicalize_key (tmp);
|
||||||
pspec->name = g_intern_string (tmp);
|
pspec->name = g_intern_string (tmp);
|
||||||
|
g_free (tmp);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (flags & G_PARAM_STATIC_NICK)
|
if (flags & G_PARAM_STATIC_NICK)
|
||||||
|
Reference in New Issue
Block a user