core: intern hyphen_name string in nm_properties_changed_signal_add_property()

(cherry picked from commit 9167b7d66b)
This commit is contained in:
Thomas Haller 2015-01-29 16:22:56 +01:00
parent c6b99ef941
commit a62516d3ab

View file

@ -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);
}