From 98130b1bc19d15b00ee579527ecd98d445dd5e7d Mon Sep 17 00:00:00 2001 From: Robert Ancell Date: Thu, 9 Oct 2014 08:48:56 +1300 Subject: [PATCH] Don't double free configuration key sources --- common/configuration.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/configuration.c b/common/configuration.c index bf08c7d9..1ef64490 100644 --- a/common/configuration.c +++ b/common/configuration.c @@ -311,7 +311,7 @@ config_init (Configuration *config) { config->priv = G_TYPE_INSTANCE_GET_PRIVATE (config, CONFIGURATION_TYPE, ConfigurationPrivate); config->priv->key_file = g_key_file_new (); - config->priv->key_sources = g_hash_table_new_full (g_str_hash, g_str_equal, g_free, g_free); + config->priv->key_sources = g_hash_table_new_full (g_str_hash, g_str_equal, g_free, NULL); } static void -- 2.39.2