diff options
author | Robert Ancell <robert.ancell@canonical.com> | 2014-10-09 08:56:11 +1300 |
---|---|---|
committer | Robert Ancell <robert.ancell@canonical.com> | 2014-10-09 08:56:11 +1300 |
commit | 6440d3f4188aad7bfc8b4963ae703bcf96366029 (patch) | |
tree | 48e505c7ca4560ed6275b62ef121e1c6bf1e39be | |
parent | 6e92a728f20d284f0905a545e24e78e133dd4ca0 (diff) | |
download | lightdm-git-6440d3f4188aad7bfc8b4963ae703bcf96366029.tar.gz |
Don't double free configuration key sources
-rw-r--r-- | common/configuration.c | 2 |
1 files changed, 1 insertions, 1 deletions
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 |