monitor-config-migration: Don't destroy autoptr:ed hash table

It'll be destroyed automatically, so don't do it manually as well.

https://bugzilla.gnome.org/show_bug.cgi?id=787477
This commit is contained in:
Jonas Ådahl 2017-09-11 11:14:26 +08:00
parent 4ab47e72e5
commit 96572fbe6a

View File

@ -1111,7 +1111,6 @@ meta_migrate_old_monitors_config (MetaMonitorConfigStore *config_store,
return FALSE;
g_hash_table_foreach (configs, migrate_config, config_store);
g_hash_table_destroy (configs);
return TRUE;
}