summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libappstream-glib/as-app.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libappstream-glib/as-app.c b/libappstream-glib/as-app.c
index d24b2f0..95cef2d 100644
--- a/libappstream-glib/as-app.c
+++ b/libappstream-glib/as-app.c
@@ -476,6 +476,7 @@ static void
as_app_init (AsApp *app)
{
AsAppPrivate *priv = GET_PRIVATE (app);
+ g_mutex_init (&priv->unique_id_mutex);
priv->categories = g_ptr_array_new_with_free_func ((GDestroyNotify) as_ref_string_unref);
priv->compulsory_for_desktops = g_ptr_array_new_with_free_func ((GDestroyNotify) as_ref_string_unref);
priv->content_ratings = g_ptr_array_new_with_free_func ((GDestroyNotify) g_object_unref);