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