Commit f6646661 authored by Petr Mrázek's avatar Petr Mrázek Committed by David Zeuthen
Browse files

Bug 29051 – Configuration reload on every query

Set has_data to true after the data is loaded to prevent excessive
reloading of config files.
Signed-off-by: default avatarDavid Zeuthen <>
parent 28e485ca
......@@ -386,6 +386,7 @@ polkit_backend_config_source_ensure (PolkitBackendConfigSource *source)
source->priv->key_files = g_list_reverse (source->priv->key_files);
source->priv->has_data = TRUE;
g_list_foreach (files, (GFunc) g_object_unref, NULL);
......@@ -641,6 +641,8 @@ polkit_backend_local_authorization_store_ensure (PolkitBackendLocalAuthorization
g_free (filename);
store->priv->has_data = TRUE;
g_list_foreach (files, (GFunc) g_object_unref, NULL);
g_list_free (files);
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment