summaryrefslogtreecommitdiff
path: root/src/analysis
diff options
context:
space:
mode:
Diffstat (limited to 'src/analysis')
-rw-r--r--src/analysis/cattribs.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/analysis/cattribs.c b/src/analysis/cattribs.c
index ebebb83..704e665 100644
--- a/src/analysis/cattribs.c
+++ b/src/analysis/cattribs.c
@@ -297,6 +297,8 @@ const char **g_content_attributes_get_keys(const GContentAttributes *attribs, si
result = NULL;
*count = 0;
+ g_generic_config_rlock(attribs->configs[0]);
+
list = g_generic_config_list_params(attribs->configs[0]);
for (iter = g_list_first(list); iter != NULL; iter = g_list_next(iter))
@@ -311,6 +313,8 @@ const char **g_content_attributes_get_keys(const GContentAttributes *attribs, si
}
+ g_generic_config_runlock(attribs->configs[0]);
+
return result;
}