Calling g_hash_table_insert() with same pointer as key and value is
not safe in currently released glib versions (<=2.34), see
https://bugzilla.gnome.org/show_bug.cgi?id=692815. Use
g_hash_table_add() instead.
https://bugzilla.gnome.org/show_bug.cgi?id=694418
if (resource_browser->priv->fresh_resources != NULL) {
char *usn_copy = g_strdup (canonical_usn);
- g_hash_table_insert (resource_browser->priv->fresh_resources,
- usn_copy,
- usn_copy);
+ g_hash_table_add (resource_browser->priv->fresh_resources,
+ usn_copy);
}
if (resource) {