mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2025-12-31 02:00:14 +01:00
core: intern hyphen_name string in nm_properties_changed_signal_add_property()
(cherry picked from commit 9167b7d66b)
This commit is contained in:
parent
c6b99ef941
commit
a62516d3ab
1 changed files with 2 additions and 1 deletions
|
|
@ -242,6 +242,7 @@ nm_properties_changed_signal_add_property (GType type,
|
|||
}
|
||||
g_assert (!g_hash_table_contains (classinfo->exported_props, hyphen_name));
|
||||
g_hash_table_insert (classinfo->exported_props,
|
||||
hyphen_name,
|
||||
(char *) g_intern_string (hyphen_name),
|
||||
(char *) dbus_property_name);
|
||||
g_free (hyphen_name);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue