summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonas Ådahl <jadahl@gmail.com>2017-09-11 11:14:26 +0800
committerJonas Ådahl <jadahl@gmail.com>2017-09-20 17:25:00 +0800
commit96572fbe6aa46d7c8704c09ffb43b62900601950 (patch)
treed9bc90c9318d71c551c10bdbcd2e8fc18220139b
parent4ab47e72e54cd18c2097a64c781c427a9582c346 (diff)
downloadmutter-96572fbe6aa46d7c8704c09ffb43b62900601950.tar.gz
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
-rw-r--r--src/backends/meta-monitor-config-migration.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/backends/meta-monitor-config-migration.c b/src/backends/meta-monitor-config-migration.c
index b4495465e..b820e813a 100644
--- a/src/backends/meta-monitor-config-migration.c
+++ b/src/backends/meta-monitor-config-migration.c
@@ -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;
}