mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-02-06 16:20:34 +01:00
core: intern hyphen_name string in nm_properties_changed_signal_add_property()
This commit is contained in:
parent
cc12f5128c
commit
9167b7d66b
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